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.
Summary of Contents for i960 Jx
Page 1: ...Release Date December 1997 Order Number 272483 002 i960 Jx Microprocessor Developer s Manual ...
Page 24: ......
Page 25: ...1 INTRODUCTION ...
Page 26: ......
Page 35: ...2 DATA TYPES AND MEMORY ADDRESSING MODES ...
Page 36: ......
Page 46: ......
Page 47: ...3 PROGRAMMING ENVIRONMENT ...
Page 48: ......
Page 73: ...4 CACHE AND ON CHIP DATA RAM ...
Page 74: ......
Page 85: ...5 INSTRUCTION SET OVERVIEW ...
Page 86: ......
Page 111: ...6 INSTRUCTION SET REFERENCE ...
Page 112: ......
Page 233: ...7 PROCEDURE CALLS ...
Page 234: ......
Page 256: ......
Page 257: ...8 FAULTS ...
Page 258: ......
Page 291: ...9 TRACING AND DEBUGGING ...
Page 292: ......
Page 309: ...10 TIMERS ...
Page 310: ......
Page 324: ......
Page 325: ...11 INTERRUPTS ...
Page 326: ......
Page 369: ...12 INITIALIZATION AND SYSTEM REQUIREMENTS ...
Page 370: ......
Page 412: ......
Page 413: ...13 MEMORY CONFIGURATION ...
Page 414: ......
Page 429: ...14 EXTERNAL BUS ...
Page 430: ......
Page 468: ......
Page 469: ...15 TEST FEATURES ...
Page 470: ......
Page 493: ...A CONSIDERATIONS FOR WRITING PORTABLE CODE ...
Page 494: ......
Page 502: ......
Page 503: ...B OPCODES AND EXECUTION TIMES ...
Page 504: ......
Page 515: ...C MACHINE LEVEL INSTRUCTION FORMATS ...
Page 516: ......
Page 523: ...D REGISTER AND DATA STRUCTURES ...
Page 524: ......
Page 550: ......
Page 551: ...GLOSSARY ...
Page 552: ......
Page 561: ...INDEX ...
Page 562: ......
Page 578: ......