25 / 28 page
Call
Function
Notes
FReset
Reset the coprocessor
Always call first
FAdd, FSub, FMult,
FDiv
Basic operations
Operate on X and Y
FSqrt
Square root approximation
Newton
approximation;
destroys all registers
FSquare
Square X
FChs
Change sign
FAbs
Absolute value
FSto0, FSto1, FRcl0,
FRcl1
Store and recall scratchpad
FLoadX, FLoadY
Load values to X and Y
Place hex numbers
in fpxhigh and
fpxlow
FZeroX, FZeroY
Load 0 to X or Y
FPI
Load X with pi
Fe
Load X with e
FLoadInt
Load integer to X
Place integer in fpx
FReadX
Read X
Places result in
fpxhigh and fpxlow
FInt
Read X as integer
Leaves result in
fpxhigh and fpxlow
FSwap
Swap X and Y
FGetDigit
Decode an ASCII digit or
compute signum
Place digit number if
fpx, returns in
fpdigit
FDump
Dump number on debug
terminal
Set fpx to number of
digits before decimal
point
FOption
Set options
Options in fpx
FXtoY
Y=X
FYtoX
X=Y
IODir
Set I/O direction register
Directions bits in
fpx
IOWrite
Write to I/O port
Data out in fpx
IORead
Read from I/O port
Returns byte in fpx