Difference between revisions of "83:ROMCalls:40BA"

From WikiTI
Jump to: navigation, search
(No difference)

Revision as of 09:56, 14 April 2005

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