COA Assignment 2-1
COA Assignment 2-1
COA Assignment 2-1
Part A
1. Draw pin diagram of 8085 microprocessor.
Ans.
− When this pin is at logic 1(set) then microprocessor performs input output
related operation.
− When this pin is at logic zero, (reset) then microprocessor performs
memory related operations.
− It is combined with status signal S0 and S1.
➢ ̅̅̅̅
𝐑𝐃:
− It is a Read
̅̅̅̅̅̅ signal.
− When this pin is at logic 1 (set), then microprocessor read the data from
device or memory.
➢ ̅̅̅̅̅
WR:
− When this pin at logic 1, then microprocessor write the data.
➢ TRAP:
− When this pin at logic 1 then microprocessor receives the interrupt signal
in form of trap then program control transport to location 0024H.
➢ RST 7.5:
− When this pin at logic 1 or set then microprocessor receive the interrupt
signal 7.5 and program control transfer to location 003CH.
➢ RST 6.5:
− When this pin at logic 1 or set then microprocessor receive the interrupt
signal 6.5 and program control transfer to location 003CH.
➢ RST 5.5:
− When this pin at logic 1 or set then microprocessor receive the interrupt
signal 5.5 and program control transfer to location 003CH.
➢ INTR:
− When this pin at logic one or set then microprocessor receive the interrupt
signal and perform control transfer to the location which is decided by
user.
➢ ̅̅̅̅̅̅̅
INTA:
− When this pin at logic 0 or set then microprocessor receive any of above
interrupt signal and perform interrupt population.
Part B
1. Explain flag register of 8085 microprocessor.
Ans.