Professional Documents
Culture Documents
Tutorial Sheet 4 EE008 3.5 3
Tutorial Sheet 4 EE008 3.5 3
TUTORIAL SHEET 4
PUSH B
MVI C, 05
LOOP3: LXI D, FFFF
LOOP2: DCX D
MOV A, D
ORA E
JNZ LOOP2
DCR C
JNZ LOOP2
POP B
RET
6. Draw the flag register format of 8085 processor.
7. Develop an assembly language program to shift the eight bit data 21H, by four bits right and store the
resulting data in register C.
8. Develop an assembly language program that functions as an up-counter to count 0 to 9 repeatedly and
tabulate the corresponding machine language code.