
memory locations and accessed using a table pointer which is incremented
automatically for each memory read. The processor may then only need the
first location, and the number of locations to be read, to access the string.
The simplest method of string access is illustrated in the LCD demo Program
4.4 using the program counter as a pointer. Alternatively, the File Select
Register can be used to access a block of GPRs containing character codes.
Note that the PIC assembler generates ASCII codes automatically when the
operand is given as a character in single quotes.
Arithmetic
Some form of calculation is needed in most programs, even if it is a simple ...