Download Q training guide a

Transcript
Q User’s Guide
User-Defined Registers
Q
User-defined registers are read/write registers that are not predetermined. These
registers are available for you to create more flexible and powerful programs. These
registers are represented by single-digit numbers and other ASCII characters. Here is a
list of the available user-defined registers.
0
1
2
3
4
5
6
7
8
9
: ................................................................................. (colon)
; ................................................................................. (semi-colon)
< ............................................................................... (less than)
= ............................................................................... (equals)
> ............................................................................... (greater than)
? ................................................................................ (question mark)
( ................................................................................ (left parenthesis)
\ ................................................................................. (backslash)
) ................................................................................ (righ parenthesis)
^ ................................................................................ (“Shift+6”)
_ ................................................................................ (underscore)
‘ ................................................................................. (apostrophe)
Non-Volatile Data Register Storage
In addition to the three types of data registers mentioned above, there are 125 nonvolatile memory locations that can be used to store data register values. Each of the
125 non-volatile memory locations can store the contents of one data register. None of
the data registers are associated with a particular non-volatile memory location, so it is
up to you to remember which memory location you are using when writing a data register to non-volatile memory. See the following sections on Writing and Reading data
registers for more information.
21