Toshiba AS311 Network Card User Manual


 
62
ASCII Interface Module (AS311)
Appendix
A.2 Specification of the WRITE instruction
FUN 238 Special module data write (WRITE)
Writes designated range of data into the special module.
Input Execution output
[ A WRITE B C ]
Function
This instruction transfers data stored in T3’s registers starting with operand A into the buffer
memory of the special module that is designated by operand C.
The destination address (buffer memory
address) is designated by operand B.
The transfer size (number of words) is
designated by operand B+1.
Operand
Index
Constant
Device
Register
Opr Name
X Y S L R Z T. C. I O XW YW SW LW RW W T C D F IW O
W
I J K
A Top register
of source
B Transfer
parameter
C Special
module
Program example
R0000
[ D0100 WRITE RW010 YW002 ]
When R0000 is ON, the register data of the size indicated by RW011, starting with D0100,
are transferred to the buffer memory starting with the address indicated by RW010 of the
special module allocated to YW002.
The maximum number of words to be transferred is 256 words.
T3 YW002 special module
RW010 320
RW011 150 Buffer memory
D0100 1234 WRITE 320 1234
D0249 5678 150 words 469 5678
Input Action Output ERF
OFF No execution OFF
ON Normal execution ON
Error (see Note 2) ON ON