83:ROMCalls:40BA

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

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

Synopsis

Official Name: InvOP2S

Call Address: 40BA

This routine inverts the sign of OP2.

Inputs

  • OP2 = floating point number

Outputs

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