Difference between revisions of "83Plus:BCALLs:423D"

From WikiTI
Jump to: navigation, search
m (Formatting, capitalization, links, and 8478 to OP1 for clarity.)
Line 1: Line 1:
 
[[Category:83Plus:BCALLs:By Name:FP_Util|GETCONOP1]] [[Category:83Plus:BCALLs:By Name|GETCONOP1]] [[Category:83Plus:BCALLs:By Address|423D - GETCONOP1]]
 
[[Category:83Plus:BCALLs:By Name:FP_Util|GETCONOP1]] [[Category:83Plus:BCALLs:By Name|GETCONOP1]] [[Category:83Plus:BCALLs:By Address|423D - GETCONOP1]]
 +
{{missinfo|Destroys}}
 
== Synopsis ==
 
== Synopsis ==
 
'''Official Name:''' GETCONOP1
 
'''Official Name:''' GETCONOP1
Line 22: Line 23:
  
 
=== Registers Destroyed ===
 
=== Registers Destroyed ===
* ??
+
* unknown
  
 
== Example ==
 
== Example ==

Revision as of 20:23, 5 February 2008

This article is missing some information (namely Destroys). You can help WikiTI by filling in the missing information.


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

  • unknown

Example

 ld     a,4     ;PI
 B_CALL GETCONOP1  

After the BCALL:

 OP1: 00 80 31 41 59 26 53 58 98