22.09.2015 Views

of Microprocessors

Musical-Applications-of-Microprocessors-2ed-Chamberlin-H-1987

Musical-Applications-of-Microprocessors-2ed-Chamberlin-H-1987

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Coding<br />

Table 5-3. 68000 Addressing Modes<br />

Name<br />

Function<br />

000000<br />

001AAA<br />

010AAA<br />

011AAA<br />

100AAA<br />

101AAA<br />

00<br />

110AAA<br />

RO<br />

111000<br />

aa<br />

111001<br />

aaaa<br />

111010<br />

00<br />

111011<br />

RO<br />

111100<br />

I I<br />

111100<br />

I /I I<br />

111101<br />

111110<br />

111111<br />

Data register direct<br />

Address register direct<br />

Address register indirect<br />

Address register indirect with<br />

postincrement<br />

Address register indirect with<br />

predecrement<br />

Address register indirect with <strong>of</strong>fset<br />

Address register indirect with <strong>of</strong>fset<br />

and index<br />

Absolute short (16-bit)<br />

Absolute long (32-bit)<br />

Relative with <strong>of</strong>fset<br />

Relative with <strong>of</strong>fset and index<br />

Immediate short<br />

Immediate long<br />

Unused<br />

Unused<br />

Unused<br />

Quick immediate short<br />

Quick immediate long<br />

Operand is content <strong>of</strong> data register<br />

DOD<br />

Operand is content <strong>of</strong> address<br />

register AAA<br />

Operand is content <strong>of</strong> memory at<br />

address in address register AAA<br />

Operand is content <strong>of</strong> memory at<br />

address in address register AAA;<br />

after the instruction, the operand<br />

length (1, 2, or 4) is added to<br />

register AAA<br />

Before the instruction, the operand<br />

length is added to address register<br />

AAA; ttle operand is content <strong>of</strong><br />

memory at address in register AAA<br />

Operand is content <strong>of</strong> memory at<br />

address in address register AAA<br />

plus the 16-bit <strong>of</strong>fset in the word<br />

following the instruction<br />

Operand is content <strong>of</strong> memory at<br />

address in address register AAA<br />

plus the content <strong>of</strong> register R<br />

(either A or 0, either 16 or 32 bits)<br />

plus an 8-bit <strong>of</strong>fset; both specified<br />

in the word following the instruction<br />

Operand is content <strong>of</strong> memory at<br />

address in the 16-bit word following<br />

the instruction<br />

Operand is content <strong>of</strong> memory at<br />

address in the 32-bit long word<br />

following the instruction<br />

Operand is content <strong>of</strong> memory at<br />

address in program counter plus<br />

the 16-bit <strong>of</strong>fset in the word<br />

following the instruction<br />

Operand is content <strong>of</strong> memory at<br />

address in program counter plus<br />

the content <strong>of</strong> register R (either A<br />

or 0, either 16 or 32 bits) plus an<br />

8-bit <strong>of</strong>fset; both specified in the<br />

word following the instruction<br />

Operand is the content <strong>of</strong> the word<br />

following the instruction<br />

Operand is the content <strong>of</strong> the long<br />

word following the instruction<br />

These are reserved for future<br />

expansion <strong>of</strong> the addressing<br />

modes; the 68020 uses two <strong>of</strong><br />

them<br />

A 3-bit field in some instructions<br />

specifies an operand between 1<br />

and 8 inclusive<br />

An 8-bit field in some instructions<br />

specifies an operand between<br />

-128 and + 127.<br />

Notes: 1. The first line under "coding" is the 6-bit address mode specification field found in all instructions<br />

using generalized address modes. Each symbol represents a single bit in this field.<br />

2. The second line under "coding," if any, represents additional bytes following the instruction that<br />

contains additional addressing information. Each symbol represents a complete byte.<br />

3. The "move" instruction contains two generalized address mode fields. If each requires additional<br />

following words, the source address word or words come first.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!