23.05.2014 Views

Excerpts for 116B (224KB)

Excerpts for 116B (224KB)

Excerpts for 116B (224KB)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Addressing Capabilities<br />

2.2.9 Memory Indirect Postindexed Mode<br />

In this mode, both the operand and its address are in memory. The processor calculates an<br />

intermediate indirect memory address using a base address register and base<br />

displacement. The processor accesses a long word at this address and adds the index<br />

operand (Xn.SIZE*SCALE) and the outer displacement to yield the effective address. Both<br />

displacements and the index register contents are sign-extended to 32 bits.<br />

In the syntax <strong>for</strong> this mode, brackets enclose the values used to calculate the intermediate<br />

memory address. All four user-specified values are optional. Both the base and outer<br />

displacements may be null, word, or long word. When omitting a displacement or<br />

suppressing an element, its value is zero in the effective address calculation.<br />

.<br />

GENERATION:<br />

ASSEMBLER SYNTAX:<br />

EA MODE FIELD:<br />

EA REGISTER FIELD:<br />

NUMBER OF EXTENSION WORDS:<br />

ADDRESS REGISTER<br />

EA = (An + bd) + Xn.SIZE*SCALE + od<br />

([bd,An],Xn.SIZE*SCALE,od)<br />

110<br />

REG. NO.<br />

1,2,3,4, OR 5<br />

31 0<br />

CONTENTS<br />

BASE DISPLACEMENT<br />

INTERMEDIATE<br />

ADDRESS<br />

MEMORY<br />

31<br />

0<br />

SIGN-EXTENDED VALUE<br />

31 0<br />

CONTENTS<br />

POINTS TO<br />

31 0<br />

VALUE AT INDIRECT MEMORY ADDRESS<br />

+<br />

31 0<br />

INDEX REGISTER<br />

SIGN-EXTENDED VALUE<br />

SCALE<br />

SCALE VALUE<br />

X<br />

+<br />

OUTER DISPLACEMENT<br />

31 0<br />

SIGN-EXTENDED VALUE<br />

+<br />

OPERAND POINTER<br />

31 0<br />

CONTENTS<br />

POINTS TO<br />

MEMORY<br />

OPERAND<br />

MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 2-11

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

Saved successfully!

Ooh no, something went wrong!