EasyManua.ls Logo

Siemens CPU 948 - Page 95

Siemens CPU 948
548 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Examples of load and
transfer operations
Example 1:
Fig. 3-6 illustrates loading/transferring a byte, word or double word
from/to a memory area organized in
bytes (PII, PIQ, flags, I/O).
:L IB i load byte i of the PII into ACCU-1-LL
:L IW j load bytes j and j+1 of the PII into ACCU-1-L
:L FD k load flag bytes k to k+3 in ACCU 1
ACCU 1
ACCU 1
ACCU 1
j
j+1
i
k
k+1
k+2
k+3
31 23 15 7 0
31 23 15 7 0
31 23 15 7 0
k+1 k+2 k+3
00jj+1
000i
70
Addresses
in
ascending
order
k
1) 1)
1) 1)
1)
LIBi
TIBi
TIWj
LIWj
TFDk
LFDk
1)
only with load operations
Fig. 3-6 Load and transfer operations in a byte-oriented memory area
Basic Operations
CPU 948 Programming Guide
C79000-G8576-C848-04
3 - 23

Table of Contents

Related product manuals