Siemens CPU 948 Programming Manual page 382

Simatic s5 s5-155u
Table of Contents

Advertisement

Memory Access via Address in ACCU 1
Example
"CX DX 17" operation on the DBA register:
Effect of the
Addresses
4 151BH
4 151CH
4 151DH
4 151EH
4 151FH
DBA
4 1520H
4 1521H
4 1522H
Fig. 9-5
Using the DBA register
When DX 17 is called, the address of the memory word in which DW 0 is
stored is entered in the DBA register. In this example, the DBA is
Note:
In the ISTACK, the address entered in the DBA register appears under
the heading 'DB-ADD'.
9 - 12
The DBA register changes if one of the following occurs:
• • Another data block is opened,
or
• • the program returns to a higher order block after a new data block
is opened in the called block (refer to Section 2.4.3).
DX17
5 words
Block header
KH = 0000
KH = 0001
.
.
.
DW 0 (at Paragraph address)
DW 1
DW 2
CPU 948 Programming Guide
C79000-G8576-C848-04
152H.
4

Advertisement

Table of Contents
loading

Table of Contents