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 Addressing Modes Read More »

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 …

Arithmetic Instructions in 8051 Read More »

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. …

8051 Interrupts Read More »

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. …

Features of 8051 Microcontroller Read More »