83:ROMCalls:40B6

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