Difference between revisions of "83:ROMCalls:4082"

From WikiTI
Jump to: navigation, search
 
(destroys header + link op1/2)
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:
 
'''Call Address:''' 4082
 
'''Call Address:''' 4082
  
This routine copies [[83:RAM:8039|OP1]] to [[83:RAM:8039|OP2]] and calls [[83:ROMCalls:4092|FPAdd]].
+
This routine calls [[83:ROMCalls:418E|OP1ToOP2]] and jumps to [[83:ROMCalls:4092|FPAdd]].
  
 
=== 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