6530 Programmer's Guide

Data Type Table
D-2
6530 Programmer’s Guide
The data type table defines the characters that are valid for each data
type. As data is entered from the keyboard, the 6530 checks each
character to determine whether it falls in the range of valid characters for
the selected data type. If the character is valid, the 6530 writes the
character into the field and continues processing. If the character is
invalid, the character is not written into the field; instead, the 6530
sounds the bell and displays an error message (INVALID DATA) in the
error line.
The data type table consists of 96 entries, one entry for each ASCII
character in the graphics range (20H-7FH). The entries consist of 8 bits
that represent the data types (0-7). A value of 1 in a bit position defines
the character as valid for that data type. Table D-2 lists the entries for
each character. Your application program can redefine the entries in the
data type table using the Esc r sequence described in “Define Data Type
Table (Esc r)” on page 3-39.
Table D-2. ASCII Data Type Table
Character
ASCII
Code
Bit/Data Type
Hex
Digits 76543210
space 20H 11100001 E1
! 21H 00000001 01
22H 0000 0001 01
# 23H 00000001 01
$ 24H 00110001 31
% 25H 00000001 01
& 26H 00000001 01
27H 00000001 01
( 28H 00000001 01
) 29H 00000001 01
* 2AH 00000001 01
+ 2BH 00110001 31
, 2CH 00110001 31
- 2DH 00110001 31