Formatting of This Guide



· Lesson Index ·

Headings

Every lesson has a header block containing these elements:

Most other pages (including this one) have similar elements but lack the day number and difficulty indicator.

Code

All assembly language is given in a monospaced font, and it is usually colored for easier reading. Fully working programs are titled Program chapter-X.

.nolist
#include "ti83plus.inc"
#define  ProgStart    $9D95
.list
.org ProgStart - 2
.DB  t2ByteTok,tAsmCmp
    b_call(_ClrLCDFull)
    ld   hl,0
    ld   (PenCol),hl
    ld   hl,msg
    b_call(_PutS)       ; Display the text
    b_call(_NewLine)
    ret
msg:
    .db "Hello world!",0
.end
.end

Instructions

Details about an assembly instruction are given in a contrasting box:

CP { imm8 | reg8 | (HL) }

Subtracts the operand from the accumulator, but does not actually affect the accumulator.

S
affected
Z
affected
P/V
detects overflow
C
affected

The first line provides the instruction's name and operands, then a short description of its effect. Subsequent lines specify the effect on the flag bits. When the instruction gives operands in the form { foo | bar | baz }, then you choose one of the options delimited by the vertical bars.

ROM calls

Details about a ROM call are also given in a contrasting box:

_FormReal

Converts the number in OP1 into a string.

Input
OP1
Number
A
Maximum number of characters (not digits) to display, minimum of six.
Output
BC
Length of string
OP3
Start of string, null-terminated.
Destroys
All
Remarks
SCI, ENG and FIX settings affect the string conversion. To ignore all format settings, use FormEReal.