0% found this document useful (0 votes)
53 views6 pages

Lab#09 Interfacing Keypad To 8051: Hardware

This document discusses interfacing a keypad to an 8051 microcontroller using a key encoder chip. The key encoder chip is used to encode the keys pressed on the keypad into binary codes that can be read by the microcontroller. The document also provides examples of the CJNE and ANL assembly language instructions used to process the key codes.

Uploaded by

Faizan Raj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views6 pages

Lab#09 Interfacing Keypad To 8051: Hardware

This document discusses interfacing a keypad to an 8051 microcontroller using a key encoder chip. The key encoder chip is used to encode the keys pressed on the keypad into binary codes that can be read by the microcontroller. The document also provides examples of the CJNE and ANL assembly language instructions used to process the key codes.

Uploaded by

Faizan Raj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Lab#09

Interfacing Keypad to 8051


Hardware:
1

0
Key Encoder (MM74C922)
Key Encoder (MM74C922)

y4
❖ Cjne dest, source, rel. addr.
cjne A,#00100100b,label1
Remember: It changes the CY flag.

❖ anl a,#00001111b
The ANL instruction performs a bitwise logical AND operation between the
specified byte or bit operands and stores the result in the destination operand.

You might also like