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

From WikiTI
Jump to: navigation, search
 
 
(One intermediate revision by one other user not shown)
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

Latest revision as of 20: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