83:ROMCalls:40B6

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