Difference between revisions of "83Plus:BCALLs:426A"
From WikiTI
(→Example) |
m (Links, capitalization, formatting.) |
||
Line 5: | Line 5: | ||
'''BCALL Address:''' 426A | '''BCALL Address:''' 426A | ||
− | Increments | + | Increments [[83Plus:RAM:8478|OP1]]'s exponent. |
=== Inputs === | === Inputs === | ||
− | * | + | * OP1 = floating point number |
=== Outputs === | === Outputs === | ||
− | * | + | * OP1 's exponent incremented |
=== Registers Destroyed === | === Registers Destroyed === | ||
Line 17: | Line 17: | ||
== Comments == | == Comments == | ||
− | This function increments the exponent of | + | This function increments the exponent of OP1. Checks are not performed to prevent an overflow. |
== Example == | == Example == | ||
− | Suppose | + | <nowiki>Suppose OP1=00h,80h,10h,00h,... |
− | After B_CALL IncO1Exp, | + | After B_CALL IncO1Exp, OP1=00h,81h,10h,00h,... |
− | Suppose | + | Suppose OP1=00h,FFh,10h,00h,... |
− | After B_CALL IncO1Exp, | + | After B_CALL IncO1Exp, OP1=00h,00h,10h,00h,...</nowiki> |
Revision as of 10:52, 21 April 2005
Synopsis
Official Name: IncO1Exp
BCALL Address: 426A
Increments OP1's exponent.
Inputs
- OP1 = floating point number
Outputs
- OP1 's exponent incremented
Registers Destroyed
- A
Comments
This function increments the exponent of OP1. Checks are not performed to prevent an overflow.
Example
Suppose OP1=00h,80h,10h,00h,... After B_CALL IncO1Exp, OP1=00h,81h,10h,00h,... Suppose OP1=00h,FFh,10h,00h,... After B_CALL IncO1Exp, OP1=00h,00h,10h,00h,...