Standard character set

The standard (default) character set used by High Level Assembler is a subset of the EBCDIC character set. This subset consists of letters of the alphabet, national characters, the underscore character, digits, and special characters. The complete set of characters that make up the standard assembler language character set is shown in Table 2.

Table 2. Standard character set
Alphabetic characters
a through z
A through Z
national characters @, $, and #
underscore character _
Digits 0 through 9
Special characters
+ - , = . * ( ) ' / & 
space

For a description of the binary and hexadecimal representations of the characters that make up the standard character set, see Appendix D. Standard character set code table.

When you code terms and expressions (see Terms, literals, and expressions) in assembler language statements, you can only use the set of characters described above. However, when you code remarks, comments or character strings between paired single quotation marks, you can use any character in the EBCDIC character set.

The term alphanumeric characters includes both alphabetic characters and digits, but not special characters. Normally, you would use strings of alphanumeric characters to represent terms, and special characters as:

Whenever a lowercase letter (a through z) is used, the assembler considers it to be identical to the corresponding uppercase character (A through Z), except when it is used within a character string enclosed in single quotation marks, or within the positional and keyword operands of macro instructions.

Compatibility with Earlier Assemblers: You can specify the COMPAT(MACROCASE) assembler option to instruct the assembler to maintain uppercase alphabetic character set compatibility with earlier assemblers for unquoted macro operands. The assembler converts lowercase alphabetic characters (a through z) in unquoted macro operands to uppercase alphabetic characters (A through Z).


[ Top of Page | Previous Page | Next Page | Contents | Index ]