17: USER COMMUNICATION INSTRUCTIONS
17-8 « FC4A MICROSMART USER’S MANUAL »
Example:
The following example shows two methods to enter 3-byte ASCII data “1” (31h), “2” (32h), “3” (33h).
(1) Constant (Character)
(2) Constant (Hexadecimal)
Designating Data Register as S1
When a data register is designated as source operand S1, conversion type and transmit digits must also be designated. The
data stored in the designated data register is converted and a designated quantity of digits of the resultant data is transmit-
ted. Conversion types are available in Binary to ASCII, BCD to ASCII, and no conversion.
When repeat is designated, data of data registers as many as the repeat cycles are transmitted, starting with the designated
data register. Repeat cycles can be up to 99.
Conversion Type
The transmit data is converted according to the designated conversion type as described below:
Example: D10 stores 000Ch (12)
(1) Binary to ASCII conversion
(2) BCD to ASCII conversion
(3) No conversion