Machine-translated by Google. Questions are authored in English.
Top

Discussion

In 8085 microprocessor, RST 6 instruction transfers program execution to the following location :

  • A.0024 H
  • B.0030 H
  • C.0048 H
  • D.0060 H

Answer: B

RST 6 transfers execution to 0030 H.

The 8085 restart instruction RST n is a one-byte call to the address 8 × n. For n = 6 that is 48 in decimal, which is 30 in hexadecimal, so the vector is 0030H.

0024H is the vector of the TRAP interrupt (RST 4.5). 0048H writes the decimal value 48 as if it were hexadecimal, and 0060H would correspond to n = 12, which does not exist among RST 0 to RST 7.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.