9.3
Transferring Memory Blocks
Application
With the operations explained in this section, you can re-store data
areas with a length of up to 255 words located in certain address areas.
Operations
Operation
Operand
Function
TNW
0 to 255
Field transfer 0 to 255 words
1)
(in the 16-bit memory area)
TXB
--
Field transfer from 8-bit to the 16-bit
memory
TXW
--
Field transfer from the 16-bit to the
8-bit memory
1)
Can also be used for transfer from the byte to the byte area.
Parameters
Field length
For TNW:
Operand = number of words (0 to 255)
For TXB/TXW
ACCU 3 = number of words (0 to 127)
End address of the source area
ACCU 2 = end address of the source area (20 bits)
End address of the destination area
ACCU 1 = end address of the destination area (20 bits)
The entire source and destination areas must be located in one of the
memory areas listed in Table 9-5 and cannot overlap.
Permitted memory areas
Addresses
Memory area
0 0000H to C FFFFH
User memory:
16-bit area (dependent on memory
configuration)
Table 9-4
Operations for field transfer
Table 9-5
Memory areas permitted for TNW, TXB and TXW
Transferring Memory Blocks
CPU 948 Programming Guide
C79000-G8576-C848-04
9 - 19
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 ...