Difference between revisions of "83Plus:BCALLs:426A"

From WikiTI
Jump to: navigation, search
 
m (Registers Destroyed: ==> Destroys)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:83Plus:BCALLs:By Name:FP_Util|IncO1Exp]] [[Category:83Plus:BCALLs:By Name|IncO1Exp]] [[Category:83Plus:BCALLs:By Address|4269 - IncO1Exp]]
+
[[Category:83Plus:BCALLs:By Name:FP_Util|IncO1Exp]] [[Category:83Plus:BCALLs:By Name|IncO1Exp]] [[Category:83Plus:BCALLs:By Address|426A - IncO1Exp]]
 
== Synopsis ==
 
== Synopsis ==
 
'''Official Name:''' IncO1Exp
 
'''Official Name:''' IncO1Exp
  
'''BCALL Address:''' 4269
+
'''BCALL Address:''' 426A
  
Increments op1's exponent.
+
Increments [[83Plus:RAM:8478|OP1]]'s exponent.
  
 
=== Inputs ===
 
=== Inputs ===
* op1 = floating point number
+
* OP1 = floating point number
  
 
=== Outputs ===
 
=== Outputs ===
* op1 's exponent incremented
+
* OP1 's exponent incremented
  
=== Registers Destroyed ===
+
=== Destroys ===
 
* A
 
* A
  
 
== Comments ==
 
== Comments ==
This function increments the exponent of op1.  Checks are not performed to prevent an overflow.
+
This function increments the exponent of OP1.  Checks are not performed to prevent an overflow.
  
 
== Example ==
 
== Example ==
Suppose op1=00h,80h,10h,00h,...
+
<nowiki>Suppose OP1=00h,80h,10h,00h,...
After B_CALL FDiv100, op1=00h,81h,10h,00h,...
+
After B_CALL IncO1Exp, OP1=00h,81h,10h,00h,...
  
  
Suppose op1=00h,FFh,10h,00h,...
+
Suppose OP1=00h,FFh,10h,00h,...
After B_CALL FDiv100, op1=00h,00h,10h,00h,...
+
After B_CALL IncO1Exp, OP1=00h,00h,10h,00h,...</nowiki>

Latest revision as of 09:44, 24 April 2005

Synopsis

Official Name: IncO1Exp

BCALL Address: 426A

Increments OP1's exponent.

Inputs

  • OP1 = floating point number

Outputs

  • OP1 's exponent incremented

Destroys

  • 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,...