83Plus:BCALLs:423D
From WikiTI
Revision as of 08:26, 31 March 2005 by Dan Englender (Talk | contribs)
Synopsis
Official Name: GETCONOP1
BCALL Address: 423D
Loads one of seven different commonly used constants to op1.
Inputs
- a = constant type
- where constant type is
- a=0 180/PI
- a=1 PI/2
- a=2 PI/4
- a=3 Log(e)
- a=4 PI
- a=5 PI/180
- a=6 ln(10)
Outputs
- op1 = constant
Registers Destroyed
- ??
Example
ld a,4 ;PI B_CALL GETCONOP1
After the BCALL:
8478: 00 80 31 41 59 26 53 58 98