Technical data
Contents of Chapter 9
9.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 4
9.2 Access using the Address in ACCU 1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 8
9.2.1 LIR/TIR: Loading to or Transferring from a 16-Bit Memory Area Indirectly . . . . . . . . 9 - 9
Registers 0 to 3 and 9 to 12: ACCU 1, 2, 3 and 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 11
Register 6: Data Block Start Address (DBA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 11
Register 8: DBL = Data Block Length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 14
Register 15: SAC = Step Address Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 15
9.2.2 Examples of using the Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 16
9.3 Transferring Fields of Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 18
9.3.1 Example of Transferring Memory Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 21
9.4 Operations with the Base Address Register (BR Register) . . . . . . . . . . . . . . . . . . . . . . 9 - 26
9.4.1 Operations for Transfer between Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 27
9.4.2 Accessing the Local Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 28
9.4.3 Accessing the Global Memory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 29
Testing and setting a busy location in the global area. . . . . . . . . . . . . . . . . . . . . . . . . 9 - 29
Load and transfer operations for the global memory organized in bytes. . . . . . . . . . 9 - 31
Load and transfer operations for the global memory organized in words . . . . . . . . . 9 - 32
9.4.4 Accessing the Page Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 33
Opening a page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 34
Testing and setting a busy location in the page area . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 34
Load and transfer operations for the pages organized in bytes. . . . . . . . . . . . . . . . . . 9 - 35
Load and transfer operations for pages organized in words . . . . . . . . . . . . . . . . . . . . 9 - 37
9
Memory Access using
Absolute Addresses
9
CPU 928B Programming Guide
C79000-B8576-C898-01
9 - 1