English
Language : 

PAK-I Datasheet, PDF (15/28 Pages) List of Unclassifed Manufacturers – 310 Ivy Glen Court
This command does not affect the X or Y
registers. It may take some time to execute
depending on the digit you request, and the
number in the X register.
This command performs a complex
algorithm which involves converting the
number to an integer and back to a float in
several places. Since integer to float
conversion is limited to 24 bits, this places
an upper limit on the size of the number
you can convert with DIGIT. Note that this
does not apply to using it as a replacement
for SGN. If you operate on a large number
(or a number with many significant digits)
and an intermediate result exceeds 24 bits,
you may get an incorrect answer, or the
PAK may fail to converge.
DIR
This command allows you to set the
directions of the 8 bit I/O port. On power
up, all pins are inputs. Setting a bit to 1 in
the DIR command causes the
corresponding I/O bit to be an output. So
issuing a DIR $83 will make B7, B1, and
B0 outputs and all other pins inputs.
DIV
Divides X by Y leaving the result in X. Y
is unchanged. This command may take
approximately 380uS in the worst case.