Register configuration – Toshiba AS311 User Manual

Page 30

Advertising
background image

28

ASCII Interface Module (AS311)

4. Register Configuration



WRITE instruction (FUN238)


Expression:


[ (A) WRITE (B)

(C) ]



Operands:


(A):

Starting register of the source

(B):

Starting address of the buffer memory to be written

(B)+1: Number of words to be written (max. 256)

(C):

I/O register (XW/YW) assigned to the AS311



Example:


R0101

[ 00576 MOV D5000 ] [ 00100 MOV D5001 ]


[ D2000 WRITE D5000

YW002 ]



When R0101 is ON, 100 words of data starting with D2000 (D2000 to D2099)

are written into the buffer memory address 576 and after of the AS311 which is

allocated to YW002.

Advertising