83:ROMCalls:40BA

From WikiTI
Revision as of 09:56, 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 = ([[83:RAM:8039|OP2)
  • F = nc, nz if OP2 is negative, z if positive
  • BC,DE,HL preserved