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 […]

Arithmetic Instructions in 8051

Arithmetic Instructions in 8051: The Arithmetic Instructions in 8051 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 […]

8051 Interrupts

8051 Interrupts: The 8051 Interrupts 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 in TCON. […]

Serial Communication Interface in Microprocessor

Serial Communication Interface in Microprocessor: The Serial Communication 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 […]

Timers and Counters in 8051 Microcontroller

Timers and Counters in 8051 Microcontroller: The Timers and Counters in 8051 Microcontroller has two 16-bit Timer/Counter registers : Timer 0 and Timer 1. The 8052 has these two plus one more : Timer 2. All three can be configured to operate either as timers or event counters. In the “Timer” mode, the register is […]

Intel 8051 Architecture and 8031 Architecture

Intel 8051 Architecture and 8031 Architecture: Fig. 12.2 shows the Intel 8051 Architecture and 8031 Architecture. It consists of a Central Processing Unit, two kinds of memory (data RAM plus program ROM/EPROM) Input/Output ports, the mode status, and data registers and random logic needed for a variety of peripheral functions. These elements communicate through an […]

Features of 8051 Microcontroller

Features of 8051 Microcontroller: The Features of 8051 Microcontroller family are as follows. 1. Single-supply +5 volt operation using HMOS technology. 2. 4096 bytes program memory on-chip (not on 8031). 3. 128 bytes data memory on-chip. 4. Four register banks. 5. 128 User-defined software flags. 6. 64 Kilobytes each program and external RAM addressability. 7. […]