83:ROMCalls:40C2

From WikiTI
Revision as of 11:39, 14 April 2005 by Kalimero (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Synopsis

Official Name: FPRecip

Call Address: 40C2

This routine calls OP1ToOP2, OP1Set1 and then runs through FPDiv to calculate the reciprocal value of OP1.

Inputs

  • OP1 = floating point number

Outputs

  • OP1 = 1 / OP1
  • OP2 = old OP1??
  • AF,BC,DE,HL destroyed

Comments

If OP1 equals zero, this routine will result in an ErrDivBy0 being thrown.