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

Discussion

On power up, the 8051 uses following locations in the RAM for registers Ro - RI and bit addressable memory :

  • A.00 - 2F and 2F - 30
  • B.00 - 7F and 7F - FF
  • C.00 - 07 and 20 - 2F
  • D.30 - 7F and 20 - 2F

Answer: C

The locations are 00 - 07 and 20 - 2F.

On reset the 8051 selects register bank 0, so R0-R7 (printed Ro - RI) occupy internal RAM addresses 00H to 07H. Banks 1 to 3 follow up to 1FH. The bit-addressable area is the 16 bytes from 20H to 2FH, giving 128 individually addressable bits, and the general-purpose scratch area runs from 30H to 7FH.

00-7F is the whole lower internal RAM and 80-FF holds the special function registers. 30-7F is the scratch area, not the register bank.

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

Post your comment

Please log in or register to post a comment.