83Plus:BCALLs:4267: Difference between revisions

From WikiTI
Jump to navigationJump to search
No edit summary
 
No edit summary
Line 17: Line 17:


== Comments ==
== Comments ==
This function divides decrements the exponent of op1.  Unlike FDiv10, checks are not performed to prevent an underflow.
This function decrements the exponent of op1.  Unlike FDiv10, checks are not performed to prevent an underflow.


== Example ==
== Example ==

Revision as of 03:20, 4 April 2005

Synopsis

Official Name: DecO1Exp

BCALL Address: 4267

Decrements op1's exponent.

Inputs

  • op1 = floating point number

Outputs

  • op1 's exponent decremented

Registers Destroyed

  • A

Comments

This function decrements the exponent of op1. Unlike FDiv10, checks are not performed to prevent an underflow.

Example

Suppose op1=00h,80h,10h,00h,... After B_CALL FDiv100, op1=00h,7Fh,10h,00h,...


Suppose op1=00h,00h,10h,00h,... After B_CALL FDiv100, op1=00h,FFh,10h,00h,...