EasyManua.ls Logo

Radio Shack TRS-80 Model 4 - Page 297

Radio Shack TRS-80 Model 4
418 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
HL
DE
A = 2
if
argument
is
integer
A
= 3
if
argument
is
string
When the argument
is
a number, this register
points to the argument storage area(ASA)
described later.
When the argument
is
a string, this register points
to a string description, as follows: The first byte
gives the length of the string. The next two bytes
give the address where the string is stored: least
significant byte (LSB) followed by most significant
byte(MSB).
Description of Argument Storage Area (ASA) - for numeric values
only.
For
double-precision
numbers:
ASA
-+-
3
ASA
-+-
2
ASA
-+-
1
ASA
ASA - 1
ASA -
2
ASA - 3
ASA - 4
Exponent
in
128-excess form, e.g., a value of 128
indicates a
(7)
exponent; a value of 66 indicates a
- 62 exponent. A value of
(7)
always indicates the
number is zero.
Highest seven bits of the mantissa with hidden
(implied) leading one. Bit
7
is
the sign of the
number((7)
positive, 1 negative), e.g., a value of
X'84' indicates the number is negative and the
MSB of the mantissa is X'84'. A value of X'04'
indicates the number is positive and the MSB of
the mantissa is X'84'.
Next MSB of the mantissa.
Next MSB.
Next MSB.
Next MSB.
Next MSB.
Lowest eight bits of the mantissa.
For
single-precision
numbers:
ASA
ASA
-+-
1
through
ASA
-+-
3
For
integers:
ASA
ASA
-+-
1
LSB of the mantissa.
Same as for double-precision numbers.
LSB of the number
MSB of the number. Together, the two bytes
represent the number
in
signed, two's complement
form.
2-171

Other manuals for Radio Shack TRS-80 Model 4

Related product manuals