
Pag. 19
Via A. Ferrarin, 19-23 • 50145 Firenze (Italy) •
Tel
.: +39 055 3024555 • Fax: +39 055 317844
P. I.V.A. e Cod. Fisc.: IT 04273220485 REA CCIAA Firenze: n. 0433306 • Registro Imprese n. FI017 -58513
Banche: INTESA-SAN PAOLO - ABI: 06160, CAB: 02848 UNICREDIT – ABI 02008, CAB: 38106
http:
www.quanta.it
e-mail:
http:
www.quantasrl.eu
[email protected]
[email protected]
P.E.C.:
CHAR
–
alphanumeric character
(0 ÷ 255)
BYTE
– 8-bit positive integer (0 ÷ 255)
WORD
– 16-bit positive integer (0 ÷ 65535)
BITMAP
–
16-bit words corresponding to 16 flags in order from 0 to 15 (for each bit logic is: 0 = off, 1 =
on)
INT
– 16-bit signed integer (-32768 ÷ 32767)
DWORD
– 32-bit positive integer (0 ÷ 4294967295)
LONG
– 32-bit signed integer (-2147483648 ÷ 2147483647)
FLOAT
– IEEE 754
single-precision floating point number
(±1.175494351E
–38 ÷ ±
3.40238)
For the type CHAR and BYTE, the 16-bit register that contains it has the high byte set as zero, unless it is an
array.
For type DWORD, LONG and FLOAT the two 16-bit registers that represent the value in the table are sorted
according to the scheme Big-Endian (Motorola): The first register contains the high word, the second register
contains the low word.
For arrays of CHAR and BYTE, each 16-bit register employed from the array contains two elements: The k-th
element in the low byte and the (k +1)-th element in the high byte, with k = 0.1, 2, ... index of characters in the
array. The element of null value (0x00) is taken as a string terminator in arrays of CHAR.
The notation "[n]" indicates the size of an array of n elements of a certain type.