Chapter 9: Message transfers
Write to the system memory (COM = 54(H))
[Format]
Ë Command
COM | SEG | SADRL | SADRH | LL | LH | DATA1 | ...... | DATAN |
|
ËResponse
| COM |
| RSLT | SEG | SADRL | SADRH | LL | LH |
|
COM | = 54(H) |
|
| ||||||
SEG | = Segment (08(H)) |
|
| ||||||
SADRL, H | = System memory address (0000(H) to 047F(H)) See page | ||||||||
LL, H | = Data length (number of bytes) |
|
| ||||||
DATAL to N | = Write data |
|
|
[Function]
- Write the system memory data with the length shown by L, starting from SEG, SADR.
[Execution condition] |
|
- Write enable mode | : Mode 2 |
- PC operation status | : Stopping |
[Example]
-Set 81(H), 00(H), 00(H), and 04(H) to system memory #204 to #207.
ËCommand
54 | 08 | 84 | 00 |
| 04 | 00 |
|
| 81 | 00 | 00 | 04 |
|
| |||||||||
|
|
|
| 9 | |||||||||||||||||||
|
|
|
| System memory |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
| Data length |
|
|
|
|
|
|
|
|
|
|
| ||||
|
|
|
| address |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| Value at | Value at | Value at | Value at | |||||||||||
|
| 0084(H)=000204(8) |
|
|
|
|
|
|
| ||||||||||||||
|
|
|
|
|
|
|
|
| #204 | #205 | #206 | #207 |
|
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ËResponse
54 | 00 | 08 | 84 | 00 | 04 | 00 |
System memory Data length address
0084(H)=000204(8)