Difference between revisions of "83:ROMCalls:4082"

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

Latest revision as of 18:46, 10 July 2005

Synopsis

Official Name: Times2

Call Address: 4082

This routine calls OP1ToOP2 and jumps to FPAdd.

Inputs

  • OP1 = floating point number

Outputs

  • OP1 = OP1 * 2

Destroys

  • AF
  • BC
  • DE
  • HL
  • OP2