6.16 OB 180: Variable Data Block Access
Using OB 180
You can use OB 180 when working with data blocks that are longer
than 261 words (incl. 5 words header).
Using OB 180, you can shift an "access window" of 256 data words in
steps of 16 words over a data block (at paragraph addresses). Call
OB 180 each time you want to shift the access window further.
In contrast to the CPU 928B, you cannot shift the access window
continuously but only in steps that are multiples of 16.
Function
When you use OB 180, the start address of the current data block is
shifted towards the end of the block by the specified value. This takes
into account that the length of DB still available is reduced (DBA and
DBL registers are loaded in keeping with the shift, see Sections 8.3
and 9.2.1).
Note
Before calling OB 180, a data block (DB or DX) with an adequate
length must already be open.
Parameters
ACCU-1-L
Shift number S:
Number of data words, by which the data block start
address will be shifted.
Permitted values:
0
≤
V < DBL, S = n * 16 (16, 32, 48 ...)
Result
After you have called OB 180 succesfully:
••
the relative address of DW 0 is shifted by the value contained in
ACCU-1-L (the DBA and DBL registers are updated accordingly),
••
the RLO is cleared (RLO = 0),
••
all other bit and word codes are cleared,
••
the content of ACCU-1-L = 0.
OB 180: Variable Data Block Access
CPU 948 Programming Guide
C79000-G8576-C848-04
6 - 53
Summary of Contents for CPU 948
Page 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Page 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Page 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Page 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Page 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Page 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Page 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Page 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Page 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Page 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Page 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Page 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Page 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Page 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Page 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Page 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...