Difference between revisions of "83:ROMCalls:40A2"

From WikiTI
Jump to: navigation, search
 
m (Fixed op2 link and added op1 link)
 
Line 5: Line 5:
 
'''Call Address:''' 40A2
 
'''Call Address:''' 40A2
  
This routine loads 0.5 into [[83:RAM:8039|OP2]] and jumps to [[83:ROMCalls:40AA|FPMult]].
+
This routine loads 0.5 into [[83:RAM:8044|OP2]] and jumps to [[83:ROMCalls:40AA|FPMult]].
  
 
=== Inputs ===
 
=== Inputs ===
* OP1 = floating point number
+
* [[83:RAM:8039|OP1]] = floating point number
  
 
=== Outputs ===
 
=== Outputs ===

Latest revision as of 15:33, 28 March 2006

Synopsis

Official Name: TimesPt5

Call Address: 40A2

This routine loads 0.5 into OP2 and jumps to FPMult.

Inputs

  • OP1 = floating point number

Outputs

  • OP1 = OP1 * 0.5
  • OP2 destroyed
  • AF,BC,DE,HL destroyed