83:ROMCalls:40B6: Difference between revisions

From WikiTI
Jump to navigationJump to search
Kalimero (talk | contribs)
No edit summary
 
Kalimero (talk | contribs)
mNo edit summary
 
Line 12: Line 12:
=== Outputs ===
=== Outputs ===
* OP1 = -OP1
* OP1 = -OP1
* A = ([[83:RAM:8039|OP1)
* A = ([[83:RAM:8039|OP1]]) = OP1 sign byte
* F = nc, nz if OP1 is negative, z if positive
* F = nc, nz if OP1 is negative, z if positive
* BC,DE,HL preserved
* BC,DE,HL preserved

Latest revision as of 17:00, 14 April 2005

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