You are on page 1of 2

ASIA PACIFIC INSTITUTE OF INNOVATION AND TECHNOLOGY

TECHNOLOGY PARK MALAYSIA

TUTORIAL SHEET 4

MODULE CODE: EE008-3.5-3

MODULE NAME: MICROPROCESSOR SYSTEMS AND EMBEDDED SOFTWARE

MODULE LECTURER: SATHISH KUMAR SELVAPERUMAL

1. The following settings for interrupts need to be made:


RST 7.5: Disable
RST 6.5: Enable
RST 5.5: Enable
INTR: Enable
TRAP: Enable
Design the interrupt mask register bit pattern and develop an assembly language program to achieve the
above settings.
2. The following settings for interrupts need to be made:
RST 7.5: Enabled
RST 6.5: Masked
RST 5.5: Enabled
Design the interrupt mask register bit pattern and develop an assembly language program to achieve the
above settings.
3. Generate the Vector Addresses of all the software interrupts.
4. Compare and contrast the various hardware interrupts.
5. Examine the program given below and determine the contents of all registers after the execution of
each instruction in sequence.

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.

You might also like