[go: up one dir, main page]

0% found this document useful (0 votes)
384 views14 pages

Addressing Modes in 8086 Microprocessor

The document discusses addressing modes in the 8086 microprocessor. There are two categories of addressing modes: 1) for data and 2) for branch instructions. The key addressing modes are implied, immediate, register, direct, register indirect, based indexed, and based indexed indirect. Implied mode specifies the operand in the instruction itself without an address. Immediate mode uses a constant value stored in the instruction.

Uploaded by

Elanor El
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
384 views14 pages

Addressing Modes in 8086 Microprocessor

The document discusses addressing modes in the 8086 microprocessor. There are two categories of addressing modes: 1) for data and 2) for branch instructions. The key addressing modes are implied, immediate, register, direct, register indirect, based indexed, and based indexed indirect. Implied mode specifies the operand in the instruction itself without an address. Immediate mode uses a constant value stored in the instruction.

Uploaded by

Elanor El
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 14

Addressing modes in

8086 microprocessor
Addressing Modes

• Addressing Modes– The term addressing modes refers to the way in


which the operand of an instruction is specified. The addressing mode
specifies a rule for interpreting or modifying the address field of the
instruction before the operand is actually executed.
Addressing modes for 8086 instructions are divided into two categories:
• 1) Addressing modes for data
• 2) Addressing modes for branch
• The 8086 memory addressing modes provide flexible access to memory,
allowing you to easily access variables, arrays, records, pointers, and other
complex data types.  The key to good assembly language programming is
the proper use of memory addressing modes.
• An assembly language program instruction consists of two parts
The memory address of an operand consists of two components: 
IMPORTANT TERMS

• Starting address of memory segment.


• Effective address or Offset: An offset is determined by adding any
combination of three address elements: displacement, base and index.
• Displacement: It is an 8 bit or 16 bit immediate value given in the instruction.
• Base: Contents of base register, BX or BP.
• Index: Content of index register SI or DI.
According to different ways of specifying an operand by 8086 microprocessor,
different addressing modes are used by 8086.
• Addressing modes used by 8086 microprocessor are discussed below:

• Implied mode:: In implied addressing the operand is specified in the


instruction itself. In this mode the data is 8 bits or 16 bits long and data is
the part of instruction.Zero address instruction are designed with implied
addressing mode.

Example:  CLC (used to reset Carry flag to 0)


• Immediate addressing mode (symbol #):In this mode data is present in address
field of instruction .Designed like one address instruction format.
Note:Limitation in the immediate mode is that the range of constants are
restricted
Exa
by size of address field.
m ple
:  M
OV A
L, 35 H
(m ov
e th
e da
ta 3
•   MOV AL, 35H 5H i
nt o
AL r
e gis
t er)

(move the data 35H into AL register)

You might also like