Difference between revisions of "83Plus:BCALLs:4267"

From WikiTI
Jump to: navigation, search
(Example)
m (Formatting and links. (Yes, I have too much time on my hands...))
 
Line 5: Line 5:
 
'''BCALL Address:''' 4267
 
'''BCALL Address:''' 4267
  
Decrements op1's exponent.
+
Decrements [[83Plus:RAM:8478|OP1]]'s exponent.
  
 
=== Inputs ===
 
=== Inputs ===
* op1 = floating point number
+
* OP1 = floating point number
  
 
=== Outputs ===
 
=== Outputs ===
* op1 's exponent decremented
+
* OP1 's exponent decremented
  
 
=== Registers Destroyed ===
 
=== Registers Destroyed ===
Line 17: Line 17:
  
 
== Comments ==
 
== Comments ==
This function decrements the exponent of op1.  Unlike FDiv10, checks are not performed to prevent an underflow.
+
This function decrements the exponent of OP1.  Unlike [[83Plus:BCALLs:4264|FDiv10]], checks are not performed to prevent an underflow.
  
 
== Example ==
 
== Example ==
Suppose op1=00h,80h,10h,00h,...
+
<nowiki>Suppose OP1=00h,80h,10h,00h,...
After B_CALL DecO1Exp, op1=00h,7Fh,10h,00h,...
+
After B_CALL DecO1Exp, OP1=00h,7Fh,10h,00h,...
  
  
Suppose op1=00h,00h,10h,00h,...
+
Suppose OP1=00h,00h,10h,00h,...
After B_CALL DecO1Exp, op1=00h,FFh,10h,00h,...
+
After B_CALL DecO1Exp, OP1=00h,FFh,10h,00h,...</nowiki>

Latest revision as of 08:56, 26 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 DecO1Exp, OP1=00h,7Fh,10h,00h,...


Suppose OP1=00h,00h,10h,00h,...
After B_CALL DecO1Exp, OP1=00h,FFh,10h,00h,...