Status Registers

Figure 10-2. Calculating S-Register Values

S-Register Operation — Sn?, Sn?^

Enter ATSn? to read a register value, where n=register number for a decimal value or ATSn?^ for a hexadecimal value.

For example, to determine the current backspace character enter

ATS5?

The screen will show the ASCII value of the backspace character stored in register S5.

Changing Register Values — Sn=v, Sn=^v

To change an option using ATS commands requires the operator to precalculate the revised decimal (or hexadecimal) total.

Note

Because of the chance of miscalculating the bit sum, causing unplanned option changes, writing to an S-register is discouraged. For operators who prefer this method of option selection a much simplified command that eliminates the decimal calculation is explained in the “Individual Bit Command — Sn . # =v” section on

page 10-4.

To change a register value, enter

ATSn=v

where n = register number and v = decimal value, or enter

ATSn=^v

where ^v = hexadecimal value.

V.3600

10-3

Page 143
Image 143
Motorola V.3600 manual Register Operation Sn?, Sn?, Changing Register Values Sn=v, Sn=v