Toshiba AS311 user manual Buffer memory access, READ instruction FUN237, Register Configuration

Models: AS311

1 66
Download 66 pages 63.98 Kb
Page 29
Image 29
4.2.2Buffer memory access

4. Register Configuration

4.2.2Buffer 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.

User’s Manual 27

Page 29
Image 29
Toshiba AS311 user manual Buffer memory access, READ instruction FUN237, Register Configuration