Professional Documents
Culture Documents
Lecture7 Assembly Language
Lecture7 Assembly Language
Lecture 7:
Assembly Language
Dr Masri Ayob
Assembly Language
Assembly language:
Assembly language is used for most programming
programme.
Allow forward addressing (the software can
Label Field.
Contains a symbolic memory address that refers to the
statement in a programme. Labels are optional and
must end with a colon in some Intel 8085A ( : ).
Labels are constructed from alphanumeric characters
and must begin with any letter of the alphabet.
field of a statement.
programme.
Multiple one byte data, comma ( , ) as a
separator.
Origin (ORG).
Changes the starting location of the
variable data.
Does not place any specific data into
Equate (Equ).
Equates a label to another label or
value.
Note that the EQU statement label does
0000 1
9000 2 ORG $9000
9000 3E 2A 3 MVI A,$2A
9002 C6 38 4 ADI $38
9004 06 67 5 MVI B,$67
9006 50 6 MOV D,B
9007 FF 7 RST 7