Toshiba AS311 Network Card User Manual


 
User’s Manual
27
4. Register Configuration
4.2.2 Buffer memory access
T3 can read the AS311’s buffer memory contents by using READ instruction (FUN237).
Also, T3 can write data into the buffer memory by using WRITE instruction (FUN238).
READ instruction (FUN237)
Expression:
[ (A) READ (B) (C) ]
Operands:
(A): I/O register (XW/YW) assigned to the AS311
(B): Starting address of the buffer memory to be read
(B)+1: Number of words to be read (max. 256)
(C): Starting register of the destination
Example:
R0100
[ 00128 MOV D5000 ] [ 00064 MOV D5001 ]
[ XW000 READ D5000 D1000 ]
When R0100 is ON, 64 words of buffer memory data starting with address 128
are read from the AS311 which is allocated to XW000. And the data are stored
in D1000 and after.