14.6 ABCD (Conversion: Decimal ASCII → BCD)
[Forward direction]
[S1+3]
①
②
ASCII Code
BCD
①②
[Reverse direction]
[S1+3]
[S1+2]
⑧
⑦
⑥
ASCII Code
BCD
①②
■
Flag operations
Name
SR7
SR8
(ER)
14-22
[S1+2]
[S1+1]
③
⑤
④
⑥
[D+1]
[D]
③④
⑤⑥ ⑦⑧
[S1+1]
④
③
⑤
[D+1]
[D]
③④
⑤⑥ ⑦⑧
Description
To be set in the case of out-of-range in indirect access (index modification).
To be set when the ASCII codes specified by [S1] contain data other than 0 to 9.
To be set when the number of bytes specified by [S2] exceeds the [S1] area.
To be set when the conversion result exceeds the area.
To be set when [S2] is specified as '0'.
To be set when the conversion direction of [S2] is out of the range.
To be set when the conversion data size of [S2] is out of the range.
[S1]
⑦
⑧
[S1]
②
①
WUME-FP7CPUPGR-12