Lab Manual of Microcontroller & Interfacing Page 58
B. Modify program such that LEDs connected at P1.4 to P1.7 shows which row is scanned
by the program and P2.4 to P2.7 shows which key is pressed in each row.
Memory
Location
HEX
code
Label Opcode Operands Comments
Comments to this Manuals