1.8
Converting User Programs of the CPU 928B for the CPU 948
The following section informs you about the points you should
remember when you convert user programs written for the CPU 928B
for use on the CPU 948.
Operations
In the following operations, note the differences in the execution and
handling (among other things the different memory utilization).
Operations
CPU 928B
CPU 948
IA/RA (disable/enable
interrupts)
All process interrupts are disabled or
enabled
Only the process interrupts via input
byte IB 0 are disabled or enabled.
Instead of these operations, use the
special function OBs OB 122 or
OB 142.
LIR/TIR
16 bit long addresses are used.
20 bit long addresses are used.
Adaptation is necessary.
Block transfer opera-
tion TNB
16 bit long addresses are used.
The operation does not exist.
Use TNW for block transfer from the
8-bit to the 8-bit area.
Block transfer opera-
tion TNW
-
16 bit long addresses are used.
-
Block transfers from the 8-bit to the
8-bit area and vice versa are
possible.
-
20 bit long addresses are used.
Adaptation is necessary.
-
only block transfers from the
8-bit to the 8-bit area and from the
16-bit to the 16-bit areas possible
with TNW.
-
for the block transfer from
the 8-bit to the 16-bit area use
the operation TXB,
-
for the block transfer from
the 16-bit to the 8-bit area use
the operation TXW.
(TXB and TXW do not exist on
a CPU 928B)
All operations with the
BR register
The BR register is 20 bits wide.
The BR register is 32 bits wide.
Adaptation is necessary.
Converting User Programs of the CPU 928B for the CPU 948
CPU 948 Programming Guide
C79000-G8576-C848-04
1 - 19
Содержание CPU 948
Страница 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Страница 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Страница 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Страница 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Страница 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Страница 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Страница 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Страница 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Страница 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Страница 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Страница 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Страница 404: ...Operations with the Base Address Register BR Register CPU 948 Programming Guide 9 34 C79000 G8576 C848 04 ...
Страница 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Страница 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Страница 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Страница 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Страница 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...