DATA TYPES AND MEMORY ADDRESSING MODES
2-3
2
Sign and sign extension are not considered when ordinal loads and stores are performed; the values
may, however, be zero-extended or truncated. A short word or byte load to a register causes the
value loaded to be zero-extended to 32 bits. A short word or byte store to memory truncates an
ordinal value in a register to fit the size of the destination memory. No overflow condition is
signalled in this case.
2.1.3
Bits and Bit Fields
The processor provides several instructions that perform operations on individual bits or bit fields
within register operands. An individual bit is specified for a bit operation by giving its bit number
and register. Internal registers always follow little endian byte order; the least significant bit
corresponds to bit 0 and the most significant bit corresponds to bit 31.
A bit field is any contiguous group of bits (up to 32 bits long) in a 32-bit register. Bit fields do not
span register boundaries. A bit field is defined by giving its length in bits (1-32) and the bit number
of its lowest numbered bit (0-31).
Loading and storing bit and bit-field data is normally performed using the ordinal load (
ldo
) and
store (
sto
) instructions. When an
ldi
instruction loads a bit or bit field value into a 32-bit register,
the processor appends sign extension bits. A byte or short store can signal an integer overflow
condition.
2.1.4
Triple- and Quad-Words
Triple- and quad-words refer to consecutive words in memory or in registers. Triple- and
quad-word load, store and move instructions use these data types to accomplish block movements.
No data manipulation (sign extension, zero extension or truncation) is performed in these instruc-
tions.
Triple- and quad-word data types can be considered a superset of the other data types described.
The data in each word subset of a quad-word is likely to be the operand or result of an ordinal,
integer, bit or bit field instruction.
2.1.5
Register Data Alignment
Several of the processor’s instructions operate on multiple-word operands. For example, the
load-long instruction (
ldl
) loads two words from memory into two consecutive registers. The least
significant data word is loaded into the lower order register. The most significant data word is
loaded into the higher order register.
Содержание i960 Jx
Страница 1: ...Release Date December 1997 Order Number 272483 002 i960 Jx Microprocessor Developer s Manual ...
Страница 24: ......
Страница 25: ...1 INTRODUCTION ...
Страница 26: ......
Страница 35: ...2 DATA TYPES AND MEMORY ADDRESSING MODES ...
Страница 36: ......
Страница 46: ......
Страница 47: ...3 PROGRAMMING ENVIRONMENT ...
Страница 48: ......
Страница 73: ...4 CACHE AND ON CHIP DATA RAM ...
Страница 74: ......
Страница 85: ...5 INSTRUCTION SET OVERVIEW ...
Страница 86: ......
Страница 111: ...6 INSTRUCTION SET REFERENCE ...
Страница 112: ......
Страница 195: ...INSTRUCTION SET REFERENCE 6 83 6 Opcode mov 5CCH REG movl 5DCH REG movt 5ECH REG movq 5FCH REG See Also LOAD STORE lda ...
Страница 233: ...7 PROCEDURE CALLS ...
Страница 234: ......
Страница 256: ......
Страница 257: ...8 FAULTS ...
Страница 258: ......
Страница 291: ...9 TRACING AND DEBUGGING ...
Страница 292: ......
Страница 309: ...10 TIMERS ...
Страница 310: ......
Страница 324: ......
Страница 325: ...11 INTERRUPTS ...
Страница 326: ......
Страница 369: ...12 INITIALIZATION AND SYSTEM REQUIREMENTS ...
Страница 370: ......
Страница 412: ......
Страница 413: ...13 MEMORY CONFIGURATION ...
Страница 414: ......
Страница 429: ...14 EXTERNAL BUS ...
Страница 430: ......
Страница 468: ......
Страница 469: ...15 TEST FEATURES ...
Страница 470: ......
Страница 493: ...A CONSIDERATIONS FOR WRITING PORTABLE CODE ...
Страница 494: ......
Страница 502: ......
Страница 503: ...B OPCODES AND EXECUTION TIMES ...
Страница 504: ......
Страница 515: ...C MACHINE LEVEL INSTRUCTION FORMATS ...
Страница 516: ......
Страница 523: ...D REGISTER AND DATA STRUCTURES ...
Страница 524: ......
Страница 550: ......
Страница 551: ...GLOSSARY ...
Страница 552: ......
Страница 561: ...INDEX ...
Страница 562: ......
Страница 578: ......