83:ROMCalls:40B6

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

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

Synopsis

Official Name: InvOP1S

Call Address: 40B6

This routine inverts the sign of OP1.

Inputs

  • OP1 = floating point number

Outputs

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