0% found this document useful (0 votes)
32 views47 pages

Addressing Modes - NJN

The document discusses the addressing modes of the 68000 microprocessor. It describes 6 categories of addressing modes: register direct, immediate, address register indirect, absolute, program counter relative, and inherent. Address register indirect modes allow accessing data through a base register plus optional offset. The 68000 supports various addressing modes to simplify programming and access memory in flexible ways.
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)
32 views47 pages

Addressing Modes - NJN

The document discusses the addressing modes of the 68000 microprocessor. It describes 6 categories of addressing modes: register direct, immediate, address register indirect, absolute, program counter relative, and inherent. Address register indirect modes allow accessing data through a base register plus optional offset. The 68000 supports various addressing modes to simplify programming and access memory in flexible ways.
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/ 47

Microcontroller / Microprocessor

(TEN22104 / TEN20704)

68000 Addressing Modes


Ir. Nur Julia Nazim Bulya Nazim
Department of Engineering and Technology
Faculty of Information Sciences and Engineering

0194233226
[email protected]
68000 Addressing Modes
▪ Addressing modes: the mechanism used to compute the operand address
▪ Simplifies assembler programming because it reduces the number of steps required to specify an
address
▪ 68000 addressing modes are grouped into 6 major categories:
1. Register Direct
Data Register Direct
Address Register Direct
2. Immediate
3. Address Register Indirect
Address Register Indirect
Address Register Indirect with Post-increment
Address Register Indirect with Pre-decrement
Address Register Indirect with Displacement
Address Register Indirect with Index
4. Absolute
Absolute Short
Absolute Long
5. Program Counter Relative
Program Counter with Displacement
Program Counter with Index
6. Inherent
Register Direct Addressing

Ref: [email protected], [email protected], [email protected]


Data Register Direct Addressing

Ref: [email protected], [email protected], [email protected]


Data Register Direct Addressing (cont.)

Ref: [email protected], [email protected], [email protected]


Immediate Addressing Modes

Ref: [email protected], [email protected], [email protected]


Immediate Addressing Modes

Ref: [email protected], [email protected], [email protected]


Immediate Addressing Modes Example

Ref: [email protected], [email protected], [email protected]


Address Register Indirect (ARI) Addressing

Ref: [email protected], [email protected], [email protected]


ARI Addressing (cont.)

Ref: [email protected], [email protected], [email protected]


ARI Addressing Example 1

Ref: [email protected], [email protected], [email protected]


ARI Addressing Example (cont.)

Ref: [email protected], [email protected], [email protected]


ARI Addressing Example (cont.)

57

Ref: [email protected], [email protected], [email protected]


ARI Addressing Example (2)

Ref: [email protected], [email protected], [email protected]


ARI with Post-Increment

Ref: [email protected], [email protected], [email protected]


ARI with Post-Increment (cont.)

Ref: [email protected], [email protected], [email protected]


ARI with Post-Increment (cont.)

Ref: [email protected], [email protected], [email protected]


ARI with Post-Increment (cont.)

Ref: [email protected], [email protected], [email protected]


ARI with Post-Increment (cont.)

Ref: [email protected], [email protected], [email protected]


ARI with Post-Increment (cont.)

Ref: [email protected], [email protected], [email protected]


ARI with Pre-decrement

Ref: [email protected], [email protected], [email protected]


ARI with Pre-decrement Example

Ref: [email protected], [email protected], [email protected]


ARI with Displacement

Ref: [email protected], [email protected], [email protected]


ARI with Displacement Example (1)

Ref: [email protected], [email protected], [email protected]


ARI with Displacement Example (2)

Ref: [email protected], [email protected], [email protected]


ARI with Index

Ref: [email protected], [email protected], [email protected]


ARI with Index

Ref: [email protected], [email protected], [email protected]


Absolute Addressing Modes

Ref: [email protected], [email protected], [email protected]


Absolute Addressing Modes (cont.)
Absolute Addressing Modes (cont.)

Ref: [email protected], [email protected], [email protected]


Absolute Long

Ref: [email protected], [email protected], [email protected]


Absolute Long Example

Ref: [email protected], [email protected], [email protected]


Absolute Short

Ref: [email protected], [email protected], [email protected]


Program Counter with Displacement

Ref: [email protected], [email protected], [email protected]


Program Counter with Index

Ref: [email protected], [email protected], [email protected]


Inherent

Ref: [email protected], [email protected], [email protected]


Inherent (cont.)

Ref: [email protected], [email protected], [email protected]


Memory Usage

Ref: [email protected], [email protected], [email protected]


Addressing Modes Example (1)

Ref: [email protected], [email protected], [email protected]


Addressing Modes Example (2)

Ref: [email protected], [email protected], [email protected]


Addressing Modes Example (3)

Ref: [email protected], [email protected], [email protected]


Addressing Modes Example (4)

Ref: [email protected], [email protected], [email protected]


Addressing Modes Example (5)

Ref: [email protected], [email protected], [email protected]


Recap: Simple Addressing Modes

Ref: [email protected], [email protected], [email protected]


Recap: ARI Addressing Modes

Ref: [email protected], [email protected], [email protected]


Recap: Other Addressing Modes

Ref: [email protected], [email protected], [email protected]


Summary

Ref: [email protected], [email protected], [email protected]

You might also like