Introduction to 8051 - 8 Microcontroller

D 4

Breaking the Break . signal

=0 I don't know

=1 Break signal signal

D 3

protocol

= 0 No profit

= 1 Profits

D 2

Calculation of leû

= 0 No profit

= 1 Profits

D 1

Check data

= 0 Not available

= 1 beef

D 0

Updating data

= 0 No data is available

= 1 Number of following data

sang

Maybe you are interested!

Introduction to 8051 - 8 Microcontroller

D 4

From time to time (transition)

= 0 For the next day,

= 1 Sang

D 3

The signal has changed a lot

=0 No change

= 1 Change

D 2

notify the bell of change

= 0 No change

= 1 Change

D 1

The string "check data to next" has changed.

=0 Not pregnant

= 1 Change

D 0

The "after to transmission" line has been changed

= 0 No change

= 1 Change

CHAPTER III

EXCEPTION OF THE COMPUTER COMPUTER TRANSFER MODUL COMPUTER COMPUTER INTERFACE KIT 8051

3. MINIMUM COMPONENTS MAX232

The MAX232 microprocessor of the MAXIM family is a microprocessor used for direct communication with computers. The same number of TTL converters converts to +10V or -10V TTL levels on the transmitter side and +3…+15V or -3…-15V TTL levels on the other side.

C1 + V+ C1 - C2 + C2 -

V -

T2 OUT R2 IN

VCC GND T1 OUT R1 IN R1 OUT T1 IN T2 IN R2 OUT

  Max 2 3 2           The Max232 Microchip Has Two Input Boards And Two Labels  Input The 1

MAX 2

3

2

The MAX232 microchip has two input boards and two labels. Input the control to CTS, the controller that outputs the final data when needed, is reached to the leg 9 of the MAX 232. The hand controls the typing process. Normally, the hand sensors are carried forward through the nodes, so that when not in use, they can not be used. The fastest way to transfer data is to use only three types of TxD, RxD and GND (mass)

SUCCESSFUL SURFACE EXAMINATION MODUL TRANSACTION

1. Great deal

RXD

TXD

8

ten

11

0

5

first

* Connection number between COM and 8051 Microcontroller KIT:

RXD

TXD

MAX 2

3

2

2. Number of internships

5V

10uF

+

10uF

10uF

P3.0

P3.1

10uF

MAX-232

10uF

MCS-8051

+

+

+

+

+ DRAW

CHAPTER 1

FINDING THE MINISTER OF LANGUAGE MATCHING

1. LANGUAGE AND MATCHING

The program is a batch that is loaded into the board for implementation. The numbers can be displayed in different (foreign) languages, the main unit of the computer (CPU) can be understood immediately in the machine language (Machine Language). Although an external CPU may have a specific identifier, a different type of CPU has a different input. The following are some of the Intel 8086/80x86 external programs:

List of binary numbers 1 B4 02 1011 0100 0000 0010

2 80 C2 30 1000 0000 1100 0010 0011 0000

3 50 0101 0000

The program output consists of 3 sentences with a sequence of 2, 3 and 1 byte. The first byte of the call is the function or the object (Operation Code) which defines the function of the CPU to be executed, the second is the object (Operand) and the object. Configure the instructions according to the rules of the CPU.

In order to be able to program to this foreigner, the program must know the name of the program you are using.

Because of the foreigner's income, this foreign-owned program is fast-acting and accounts for a small amount of money on the board, but because the program is staffed and fully qualified.

Association (Assembly Language) is a foreigner that helps to present the marriage program on behalf of the foreigner. A foreigner meeting is a foreigner meeting a foreigner and a foreigner is a foreigner The program is using a binary variable that uses a number of variables such as MOV as a conversion, ADD as a function, and SUB as a function. For example, the following three foreign languages ​​can be used together:

Leänh

Use of credit cards

General use

first

B4 02

MOV AH, 02h

2

80 C2 30

ADD DL, 30h

3

50

PUSH AX

As a result, people who cannot understand the program have to go through the translation phase, in order to convert the imported program to another country. The program that translates a program to a foreign language is called an assembler (Assembler ). A program that combines a source program (or alternative -sourse program ) and a foreign program that translates a foreign program into a target program (or an object program:

Source program

assembler (Assembler)

Object program

I AM RUNING THE METHODOLOGY PROGRAM

To create and run a meeting program you need one of the assembly programs such as Turbo Assembler from Borland International (the TASM.EXE compiler and the TLINK.EX program from Microsoft Assembler) or Microsoft Assembler. MASM.EXE compiler and LINK.EXE linker) in addition to a number of other files in these programs. Dua being used by the department must follow the following procedure:

Step 1: Before you need an editor to create a full-scale program such as NC (Norton Commander), Turbo in Turbo Pascal... e.g. HELLO.ASM)

Step 2: Translate the editor program (HELLO.ASM) into the TASM.EXE compiler assembly (which uses turbo translation). After translating, there will be a message file called the HELLO.OBJ which translates the program as follows:

C: TASM HELLO.ASM

Turbo Assembler Version 2.01 Copyright (c) 1990 Borland International Assembling file: hello.asm to hello.obj

Error message: None Warning message: None Passes: 1

Remaining memory: 370k

Make sure your program is free of errors. If so, edit the program (without the editor) and recompile. Your file should now contain two files HELLO.ASM (source program created by you) and HELLO.OBJ (general file). If the program is not profitable, go to step 3

Step 3: Connect the program to the TLINK.EXE link. The sequence of operations is as follows:

C:TLINK HELLO.OBJ

Turbo Link Version 3.01 Copyright (c) 1990 Borland International

If your program shows no errors, TLINK will create a HELLO.EXE execution.

Step 4: Finally, execute your program. The process of creating and executing the program can be summarized as the following figure:

Editor

TASM.EXE

(program translation)

Source(s) (ASM)

Exchange (.OBJ)

Source(s)

TLINK.EXE

(program key)

Target (.EXE)

LEGAL MATCHING

The meeting program includes many members, each branch in a field. Conjunctions are divided into two types of indications and indications. The instruction indicator will be translated to the host, the order will be executed, the index (called the family name) will only be the sequence of the preprocessor. The total composition of a group of 4 programs is as follows:

< ;write down>

eg: DoAddition: ADD AX, DX ;Increase AX with DX

The fields that match each other are at least a single page or symbol (Tab)

a/ Adolescents

The field can be either a symbol (Label) or a symbol (Symbol). Returns a string name for a location in the program (this case has the name : followed), or a dependency (subroutine) or a data field variable.

b/ The class

School is your first name. If it's an indicator like MOV, ADD, etc., it will be translated to a different number if it's a label like ENDS, PROC,

… is the function that will schedule the interpreter during the process of translating the program to the machine.

c/ Maths field

The data identification field will be compensated. Taxes may or may not be calculated. If two variables are similar, the opposite is called the destination, and the two is called the source.

d/ Field of note

After each statement, the following line can be recorded with the purpose of explaining the meaning of the command.

DECLARATION OF DATA

The data in the program is converted to binary, but you can read it in binary, binary or binary format.

a/ Control method

In normal programs that are interpreted as fractional, when the number is in the number (eg 10,10D, 10d) the values ​​are the same.

Sorting according to a specific classification system or a number (e.g. 10h, 10H, 2F8h, 2F8H)

Compare the binary number B or b (eg 1001b, 1001B ) b/ The series

The number or string must be output between two numbers (') or matching(") (for example 'Hello',"hello",'A', "A" ) the ASCII characters that have been converted. same, because 'A',"A" ,41h or 65 are the same.

c/ method of data collection

Commonly used instructions define byte, type (2 bytes – word) or double (4 bytes – Double word) data as follows:

Play DB game, game, ;byte

Date published: 13/07/2022
Rating:
4.3/5 (1 votes)

Send Message


Agree Privacy Policy *