Technical data
Storing block addresses in
DB 0:
n = start address of the PB address list (= contents of RS 36)
Examples of how to obtain a
block address
Address PB 0
Address PB 1
Address PB 2
Address PB 178
Address PB 179
If the value "0" is entered as
the address, the block is not loaded
DB0
n
n+1
n+2
n+178
n+179
15 0
Fig. 8-4 Block addresses in DB 0
Start address of FB 40
Solution a):
:L RS 37 Base address of the FB address list
:L KB 40 + FB number
:+F = Address of the memory cell con-
: taining the start address of FB 40
:LIR 1 Load the start address of FB 40
in ACCU 1.
: (If the block is not loaded,
: the start address = 0)
Solution b):
:L RS 37 Base address of the FB address list
:MAB Load the BR register with the base
address
:LRW +40 Load the contents of the memory cell
"base address + 40" in ACCU 1
User Memory Organization in the CPU 928B
CPU 928B Programming Guide
8 - 12 C79000-B8576-C898-01