41CL User Manual
© 2019, Systemyde International Corporation
39
YPUTLB
YPUTUB
(address in the ALPHA register)
Executing
YPUTLB
(
Write Lower Memory Byte To Serial Por
t) reads the lower byte
from the specified address and attempts to write it to the serial port.
Executing
YPUTUB
(
Write Upper Memory Byte To Serial Por
t) reads the upper byte
from the specified address and attempts to write it to the serial port.
The figure below shows the formatting required for the address and data in the ALPHA
register for the
YPUTLB
and
YPUTUB
functions. These functions put a
SENDING
message in the display while waiting to send a character, and will return with a
TIME-
OUT
error message after the time-out period if the transmitter cannot accept a byte.
ALPHA register
6
5
4
3
2
1
physical address
P5 P4 P3 P2 P1 P0
YEXP
(address and transfer length in the ALPHA register)
Executing
YEXP
(
Export Memory Block
) transfers an entire block of data (up to 4096
words) from internal memory to the serial port. Both Flash and RAM addresses are valid
for this function.
The figure below shows the formatting required for the address and data in the ALPHA
register for the
YEXP
function. The transfer length is limited to 4096 (words) or less. The
number of words transferred is the transfer length plus one, allowing block transfers of
from 1 to 4096 words (2 to 8192 bytes).
ALPHA register
11
10
9
8
7
6
5
4
3
2
1
physical address
P5 P4 P3 P2 P1 P0
-
0
D2 D1 D0
This function puts a
SENDING
message in the display while waiting to send characters,
and will return with a
TIMEOUT
error message after the time-out period if the transmit-
ter cannot accept a byte at any point during the block transfer.