Question discussion

When TRAP interrupt is triggered in an 8085 microprocessor, the program control is transferred to which one of the following?

212836Medium 1 reply 746 views
23
When TRAP interrupt is triggered in an 8085 microprocessor, the program control is transferred to which one of the following?
  • A003C H
  • B0024 H
  • C0034 H
  • D002C H
Answer not set

Discussion 1

0
CCommunity
TRAP is nothing but RST 4.5

Address location of TRAP is given by $(4.5 \times 8 = {36_{10}} = 0024{\rm{H}})$

Hence control is transferred to 0024H

Different interrupts and their address are shown in the table:

Interrupt

Vector Address

RST 7.5

003CH

RST 6.5

0034H

RST 5.5

002CH

TRAP (RST 4.5)

0024H