Toshiba 6F3B0250 Video Gaming Accessories User Manual


 
6F3B0250
132
T1/T1S User’s Manual
7. Instructions
Conversion instructions
FUN Name Expression Function Steps Speed Available Pa
g
e
No.
(
m
s)
T1 T1S
062 Hex to ASCII
conversion
-[
A
HTOA (
n
)
B
]-
Converts the hexadecimal
data of
n
words stating with
A
into ASCII characters, and
stores them in
n
x2 registers
starting with
B
.
4
Ö
179
063 ASCII to Hex
conversion
-[
A
ATOH (
n
)
B
]-
Converts the ASCII
characters stored in
n
registers stating with
A
into
hexadecimal data, and stores
them in
n
/2 registers starting
with
B
.
4
Ö
180
180 Absolute value
-[
A
ABS
B
]-
Stores the absolute value of
A
in
B
.
35.0
ÖÖ
249
182 2’s complement
-[
A
NEG
B
]-
Stores the 2’s complement
value of
A
in
B
.
34.6
ÖÖ
250
183 Double-word
2’s complement
-[
A+1
×
A
DNEG
B+1
×
B
]-
Stores the 2’s complement
value of
A+1
×
A
in
B+1
×
B
.
34.6
ÖÖ
251
185 7-se
g
ment
decode
-[
A
7SEG
B
]-
Converts lower 4 bits of
A
into
7-se
g
ment code, and stores it
in
B
.
3 43.9
ÖÖ
252
186 ASCII
conversion
-[
A
ASC
B
]-
Converts the alphanumerics
(max. 16 characters) of
A
into
ASCII codes, and stores them
in registers starting with
B
.
3 - 10 29.8 -
49.6
ÖÖ
254
188 Binary
conversion
-[
A
BIN
B
]-
Converts the BCD data in
A
into binary data, and stores it
in
B
.
3 65.5
ÖÖ
255
190 BCD
conversion
-[
A
BCD
B
]-
Converts the binary data in
A
into BCD data, and stores it in
B
.
3 55.6
ÖÖ
256
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net