PROGRAMMING ENVIRONMENT
3-16
The most efficient way to move data blocks longer than 16 bytes is to move them in quad-word
increments, using quad-word instructions
ldq
and
stq
.
Normally when a data block is stored in memory, the block’s least significant byte is stored at a
base memory address and the more significant bytes are stored at successively higher byte
addresses. This method of ordering bytes in memory is referred to as “little endian” ordering.
The i960 Jx processor also provides an option for ordering bytes in the opposite manner in
memory. The block’s most significant byte is stored at the base address and the less significant
bytes are stored at successively higher addresses. This byte-ordering scheme, referred to as “big
endian”, applies to data blocks which are short-words or words. For more about byte ordering, see
section 13.6.2, “Selecting the Byte Order” (pg. 13-12)
.
When loading a byte, short-word or word from memory to a register, the block’s least significant
bit is always loaded in register bit 0. When loading double-words, triple-words and quad-words,
the least significant word is stored in the base register. The more significant words are then stored
at successively higher-numbered registers. Individual bits can be addressed only in data that
resides in a register: bit 0 in a register is the least significant bit, bit 31 is the most significant bit.
3.5.4
Internal Data RAM
Internal data RAM is mapped to the lower 1 Kbyte (0000H to 03FFH) of the address space. Loads
and stores, with target addresses in internal data RAM, operate directly on the internal data RAM;
no external bus activity is generated. Data RAM allows time-critical data storage and retrieval
without dependence on external bus performance. The lower 1 Kbyte of memory is data memory
only. Instructions cannot be fetched from the internal data RAM. Instruction fetches directed to the
data RAM cause a OPERATION.UNIMPLEMENTED fault to occur. For more specific
information refer to
Section 4.1, ”INTERNAL DATA RAM” (pg. 4-1)
3.5.5
Instruction Cache
The instruction cache enhances performance by reducing the number of instruction fetches from
external memory. The cache provides fast execution of cached code and loop functions in addition
to providing more bus bandwidth for data operations in external memory. The i960 JT processor
instruction cache is a 16 Kbyte two-way set-associative. The i960 JF and JD processor instruction
cache is a 4 Kbyte, two-way set-associative, organized in two sets of four-word lines. The i960 JA
processors feature a 2 Kbyte instruction cache two-way set-associative.
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: ......