Category: MICROCONTROLLER 8031 AND 8051

8051 Addressing Modes

8051 Addressing Modes: The 8051 Addressing Modes architecture supports several distinct physical address spaces. On – chip program memory On – chip data memory External program memory External data memory On-chip special function registers The most of the instructions can operate with variables from these physical address spaces.. Now we will see how to access […]

8051 Arithmetic Instructions

8051 Arithmetic Instructions: The 8051 Arithmetic Instructions of Basic Assembly Language Programming are ADD, ADDC, SUBB and DA The ADD instruction adds a byte variable with the accumulator, leaving the result in the accumulator: The carry flag is set if there is an overflow from bit 7 and cleared otherwise. The AC flag is set to […]

8051 Interrupt Sources

8051 Interrupt Sources: The 8051 Interrupt Sources provides 5 interrupt sources. The 8052 provides 6. These are shown in Fig. 12.28. The external Interrupts INT0 and INT1 can each- be either level-activated or transition-activated, depending on bits IT0 and IT1 in Register TCON. The flags that actually generate these interrupts are bits IE0 and -IE1 […]

Serial Interface in Microprocessor

Serial Interface in Microprocessor: The Serial Interface in Microprocessor is full duplex, meaning it can transmit and receive simultaneously. It is also receive-buffered, meaning it can commence reception of a second byte before a previously received byte has been read from the receive register. (However, if the first byte still hasn’t been read by the […]