Microcontroller 8031 and 8051

Microcontroller 8031 and 8051:

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 variables from different physical and logical address spaces with the …


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 the carry-out from bit 3 for …


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 in TCON. When an external …


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. One microsecond instruction cycle with 12 MHz crystal. 8. 32 bidirectional I/O …


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 eight bit data bus …


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 time reception of the …


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 incremented after every machine cycle. …


Updated: May 1, 2020 — 1:01 pm