Difference between revisions of "83:ROMCalls:408A"

From WikiTI
Jump to: navigation, search
 
(destroys section + link op1/2)
 
Line 8: Line 8:
  
 
=== Inputs ===
 
=== Inputs ===
* OP1 = floating point number
+
* [[83:RAM:8039|OP1]] = floating point number
  
 
=== Outputs ===
 
=== Outputs ===
 
* OP1 = OP1 - 1
 
* OP1 = OP1 - 1
* OP2 destroyed
+
 
* AF,BC,DE,HL destroyed
+
=== Destroys ===
 +
* AF
 +
* BC
 +
* DE
 +
* HL
 +
* [[83:RAM:8039|OP2]]

Latest revision as of 18:43, 10 July 2005

Synopsis

Official Name: Minus1

Call Address: 408A

This routine calls OP2Set1 and jumps to FPSub.

Inputs

  • OP1 = floating point number

Outputs

  • OP1 = OP1 - 1

Destroys

  • AF
  • BC
  • DE
  • HL
  • OP2