Accessing The Local Memory - Siemens CPU 948 Programming Manual

Simatic s5 s5-155u
Table of Contents

Advertisement

Operations with the Base Address Register (BR Register)
20 19
31
. . . . . .
xx
xx
19
19
19
Fig. 9-8
Transfer operations from one register to another
9.4.2
Accessing the Local
Memory
Application
Operations
9 - 24
0
ACCU 1
MAS, MAB
0
BR,
SAC
0
SAC
MSB
0
BR
The following operations allow access to the local memory organized
in words using an absolute memory address. The absolute address is
the sum of the contents of the BR register and the 16-bit constant
contained in the operation (-32768 to +32767).
Table 9-8
Operations for accessing the local memory
Operation
Operand
LRW
Constant
(-32768 to
+32767)
LRD
Constant
(-32768 to
+32767)
TRW
Constant
(-32768 to
+32767)
20 19
31
. . . . . .
00
00
19
19
19
Description
add the specified constant to content
of the BR register and load the word
addressed in this way in ACCU-1-L
add the specified constant to content
of the BR register and load the double
word addressed in this way in ACCU 1
add the specified constant to content
of the BR register and transfer the
content of ACCU-1-L to the word
addressed in this way
CPU 948 Programming Guide
0
ACCU 1
MSA, MBA
0
BR,
SAC
0
SAC
MBS
0
BR
1)
1)
C79000-G8576-C848-04

Advertisement

Table of Contents
loading

Table of Contents