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

From WikiTI
Jump to: navigation, search
(destroys section)
 
Line 15: Line 15:
  
 
=== Destroys ===
 
=== Destroys ===
* AF
+
* AF, C, HL
* C
+
* HL
+

Latest revision as of 19:49, 30 August 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