83:ROMCalls:40BA

From WikiTI
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