0% found this document useful (0 votes)
311 views

Addressing Modes of 80386

Uploaded by

aryanwankhade88
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
311 views

Addressing Modes of 80386

Uploaded by

aryanwankhade88
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Addressing Modes of the 80386 Microprocessor

The 80386 microprocessor, introduced by Intel, features several addressing modes that allow the

CPU to access data in memory, registers, or through complex calculations.

These addressing modes are used to specify the location of an operand in an instruction. Below is

an overview of the various addressing modes of the 80386.

1. Register Addressing Mode

2. Immediate Addressing Mode

3. Direct Addressing Mode

4. Indirect Addressing Mode

5. Based Addressing Mode

6. Indexed Addressing Mode

7. Based Indexed Addressing Mode

8. Scaled Indexed Addressing Mode

9. Relative Addressing Mode

10. Memory Indirect Addressing Mode (Far Addressing)

1. Register Addressing Mode: Operands are located in registers, with the instruction specifying the

register.

Example: MOV AX, BX (moves the value in register BX to AX).

2. Immediate Addressing Mode: The operand is part of the instruction itself.

Example: MOV AX, 1234H (moves 1234H into AX).

3. Direct Addressing Mode: The effective address is provided directly in the instruction.
Example: MOV AX, [1234H] (moves value from memory address 1234H into AX).

4. Indirect Addressing Mode: A register holds the effective address pointing to the memory location

of the operand.

Example: MOV AX, [BX].

5. Based Addressing Mode: The address is computed by adding a base register to a displacement.

Example: MOV AX, [BX+1234H].

6. Indexed Addressing Mode: The address is calculated by adding an index register and a

displacement.

Example: MOV AX, [SI+1234H].

7. Based Indexed Addressing Mode: Combines a base register, index register, and optional

displacement.

Example: MOV AX, [BX+SI+1234H].

8. Scaled Indexed Addressing Mode: The index register is multiplied by a constant and added to the

base.

Example: MOV EAX, [EBX + 4*ECX + 1234H].

9. Relative Addressing Mode: The address is computed as an offset from the instruction pointer.

Example: JMP SHORT_LABEL.

10. Memory Indirect Addressing Mode (Far Addressing): A pointer to a memory location holds the

operand.
Example: CALL FAR PTR [1234H].

You might also like