83:ROMCalls:40C6

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

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

Synopsis

Official Name: FPDiv

Call Address: 40C6

This routine devides OP1 by OP2 and stores the result in OP1.

Inputs

  • OP1 = first operand
  • OP2 = second operand

Outputs

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

Comments

If OP2 equals zero, this routine will throw an ErrDivBy0.