beautypg.com

Instructions – Toshiba 6F3B0253 User Manual

Page 116

background image

6F3B0253

114

T1-16S User’s Manual

7. Instructions

Conversion instructions

FUN

No.

Name

Expression

Function

Steps

Speed

(

µ

s)

Page

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 nx2 registers
starting with B.

4

161

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

162

180 Absolute value

[ A ABS B ]

Stores the absolute value of
A in B.

3

5.0

231

182 2’s

complement

[ A NEG B ]

Stores the 2’s complement
value of A in B.

3

4.6

232

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.

3

4.6

233

185 7-segment

decode

[ A 7SEG B ]

Converts lower 4 bits of A
into 7-segment code, and
stores it in B.

3

43.9

234

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

236

188 Binary

conversion

[ A BIN B ]

Converts the BCD data in A
into binary data, and stores it
in B.

3

65.5

237

190 BCD

conversion

[ A BCD B ]

Converts the binary data in A
into BCD data, and stores it
in B.

3

55.6

238