Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
3 views11 pages

4 - 8051 Addressing Modes-1

The document outlines various addressing modes including immediate, register, direct, indirect, and indexed modes. It also details arithmetic instructions such as addition, subtraction, multiplication, and division, along with logical operations like AND, OR, and XOR. Additionally, the document covers program-flow control instructions, including calls, jumps, and loops.
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)
3 views11 pages

4 - 8051 Addressing Modes-1

The document outlines various addressing modes including immediate, register, direct, indirect, and indexed modes. It also details arithmetic instructions such as addition, subtraction, multiplication, and division, along with logical operations like AND, OR, and XOR. Additionally, the document covers program-flow control instructions, including calls, jumps, and loops.
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/ 11

➢ ADDRESSING MODES

1. Immediate Addressing Mode

2. Register Addressing Mode

3. Direct Addressing Mode


4. Indirect Addressing Mode

5. Indexed Addressing Mode

✓ EXTERNAL MEMORY DATA MOVEMENTS


✓ DATA EXCHANGE

❖ ARITHMETIC INSTRUCTIONS

1. Addition
2. Subtraction

3. Multiplication

4. Division

5. Increment and Decrement


❖ LOGICAL INSTRUCTIONS

1. AND Operation

e.g CLR

2. OR Operation

e.g SET
3. XOR operation

e.g COMPLEMENT

4. Unary Operations

❖ Rotate Instructions
❖ Program-Flow Control Instructions

1. CALLS AND SUBROUTINES


2. JUMP INSTRUCTIONS

➢ Unconditional Jumps

a) Short (Relative) Jump


b) Absolute Jump
c) Long (Direct) Jump

➢ Conditional Jumps

a) Short Jump

b) Absolute Jump
c) Long Jump

➢ Conditional Jumps

a) Byte Jumps

CJNE: Compare the magnitudes of the first two operands, thereafter jump to destination address if not equal.
DJNZ: Decrements the contents of register R n by 1 and jump to the address indicated by the instruction if the
resulting value is not zero.
a) Bit Jumps

➢ LOOPS

You might also like