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

Discussion

The alternate function of 8051 port 2 is :

  • A.Input/output data \((D_{0} - D_{7})\)
  • B.Sending higher order address \((A_{8} - A_{15})\)
  • C.Sending lower order address \((A_{0} - A_{7})\)
  • D.Serial input/output

Answer: B

The alternate function of port 2 is sending the higher order address (A8-A15).

When the 8051 accesses external memory, port 2 outputs the upper byte of the 16-bit address, while port 0 carries the lower byte multiplexed with data.

The data byte D0-D7 and the lower address A0-A7 are the alternate functions of port 0. Serial input and output (RXD, TXD) are alternate functions of port 3.

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

Post your comment

Please log in or register to post a comment.