83Plus:BCALLs:4066
From WikiTI
Synopsis
Official Name: Times2
BCALL Address: 4066
Doubles the floating point number in OP1.
Inputs
- OP1 = floating point number
Outputs
- OP1 = 2*OP1
- OP2 = original value of OP1
Registers Destroyed
- AF, BC, DE, HL
Comments
This is faster than loading OP2 with 2 and using FPmult.
Example
B_CALL OP1Set3 ;OP1=floating point 3 B_CALL Times2 ;returns with OP1=floating point 6