83:ROMCalls:40B2

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

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

Synopsis

Official Name: InvOP1SC

Call Address: 40B2

This routine calls InvOP2S and runs through InvOP1S inverting the sign of both OP1 and OP2.

Inputs

  • OP1 = floating point number
  • OP2 = floating point number

Outputs

  • OP1 = -OP1
  • OP2 = -OP2
  • A = (OP1) = OP1 sign byte
  • F = nc, nz if OP1 is negative, z if positive
  • BC,DE,HL preserved