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

From WikiTI
Jump to: navigation, search
(Example)
Line 21: Line 21:
 
== Example ==
 
== Example ==
 
Suppose op1=00h,80h,10h,00h,...
 
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,...

Revision as of 20:29, 3 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,...