Difference between revisions of "83Plus:BCALLs:4AD7"

From WikiTI
Jump to: navigation, search
(Created page with 'rclAns 4AD7 - rclAns == Synopsis == '''Official name:''' rclAns '''BCALL adress:''' 4AD7 Stores the cont…')
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:83Plus:BCALLs:By name|rclAns]]
+
[[Category:83Plus:BCALLs:By Name|RclAns]]
[[Category:83Plus:BCALLs:By adress|4AD7 - rclAns]]
+
[[Category:83Plus:BCALLs:By Address|4AD7 - RclAns]]
 
== Synopsis ==
 
== Synopsis ==
'''Official name:''' rclAns
+
'''Official name:''' RclAns
  
 
'''BCALL adress:''' 4AD7
 
'''BCALL adress:''' 4AD7
Line 22: Line 22:
  
 
== Example ==
 
== Example ==
  <nowiki> b_call _rclAns
+
  <nowiki> b_call RclAns
 
  ld a,5
 
  ld a,5
  b_call _dispOp1a
+
  b_call DispOp1a
 
  ret </nowiki>
 
  ret </nowiki>

Latest revision as of 14:48, 3 August 2012

Synopsis

Official name: RclAns

BCALL adress: 4AD7

Stores the content of Ans in OP1 (and OP2 in case of a complex number).

Inputs

None.

Outputs

  • OP1: contains the real value of Ans.
  • OP2: contains the imaginary value of Ans (if there is any).

Destroys

  • AF
  • BC
  • DE
  • HL

Example

 b_call RclAns
 ld a,5
 b_call DispOp1a
 ret