Difference between revisions of "83:ROMCalls:40BE"

From WikiTI
Jump to: navigation, search
 
(destroys section)
Line 12: Line 12:
 
=== Outputs ===
 
=== Outputs ===
 
* OP1 = frac(OP1)
 
* OP1 = frac(OP1)
* AF,C,HL destroyed
 
 
* B,DE preserved?
 
* B,DE preserved?
 +
 +
=== Destroys ===
 +
* AF
 +
* C
 +
* HL

Revision as of 18:38, 10 July 2005

Synopsis

Official Name: Frac

Call Address: 40BE

This routine returns the fractional part of OP1.

Inputs

  • OP1 = floating point number

Outputs

  • OP1 = frac(OP1)
  • B,DE preserved?

Destroys

  • AF
  • C
  • HL