Home » Digital Electronics » The 8051 Microcontroller

The following program will receive data from port 1, determine whether bit 2 is high, and then send the number FFH to port 3: READ: MOV A,P1 ANL A,#2H CJNE A,#02H,READ MOV P3,#FFH

Correct Answer: True

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion