11.07.2015 Views

section 7 - Index of

section 7 - Index of

section 7 - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

EXAMPLE: MOVE X: -(R5),B1BEFORE EXECUTIONAFTER EXECUTIONB2 B1 BO55 48 47 24 23 01 3 BIB 6 2 0 0 41 A 5 5 4 C 017 0 23 o 23 oB255 48 4713 BI17 o 23B1BO24 23 02 3 4 5 61 A 5 5 4 C 01o 23 0X MEMORY23 oX MEMORY23 0$3007$3006 I-------i$3007 1-------1$3006 I---'------i15 oR5 '---'----'R515 015 0N51 xxxx I15 0M51 $FFFFI15 0N51 XXXX I15 0M51 $FFFF1Assembler Syntax: -RnMemory Spaces: P:, X:, V:, L:Additional Instruction Execution Time (Clocks): 2Additional Effective Address Words: 0Figure 4-10 Address Register Indirect -Predecrement4.4.2.1 Linear Modifier (Mn=$FFFF)When the value in the modifier register is $FFFF, address modification is performed usingnormal 16-bit linear arithmetic (see Table 4-2). A 16-bit <strong>of</strong>fset, Nn, and + 1 or -1 can beused in the address calculations. The range <strong>of</strong> values can be considered as signed (Nnfrom -32,768 to + 32,767) or unsigned (Nn from 0 to + 65,535) since there is no arithmeticdifference between these two data representations. Addresses are normally consideredunsigned, and data is normally considered signed.

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

Saved successfully!

Ooh no, something went wrong!