User data, User's manual – Toshiba T2N User Manual

Page 192

Advertising
background image

3.User Data

User's manual

179

Processable numerical ranges and expression formats are shown
in the following Table.

Basically, BCD is a data format used for data inputs from BCD-
output type numerical setting devices and data outputs to BCD-
input type numerical display devices. However, the T2N is provided
with dedicated instructions which execute the 4 arithmetic
calculations on BCD data as they stand.

(4)

Unsigned Double-Length Integers
These are 32-bit unsigned integers which are expressed using 2
consecutive registers. In the case of double-length data, the
registers are designated in the form A + 1 • A . A indicates
the lower 16 bits and A + 1 shows the upper 16 bits. ( A + 1 is
the register following register A )

Example)

When processing a Unsigned double-length integer in

double length register D0201•D0200, D0200 becomes A and
D0201 becomes A +1. D0200 becomes the lower side and
D0201 becomes the upper side.
In programming, when D0200 is entered in the position which
designates the instruction double-length operand, D0201•D0200
is automatically displayed.

The numerical value range in which unsigned double-length integers
can be processed is shown in the Table on the following page.

NOTE

Bit positions

Register A = Lower 16 bits

Register A +1 = Upper 16 bits

(MSB)

(LSB)

F

0

F

0

Numerical Value

(Decimal)

Binary Expression

Hexadecimal

Expression

9999

1001 1001 1001 1001

9999

9998

1001 1001 1001 1000

9998

10

0000 0000 0001 0000

0010

9

0000 0000 0000 1001

0009

1

0000 0000 0000 0001

0001

0

0000 0000 0000 0000

0000

Advertising