Difference between revisions of "83Plus:BCALLs:4069"

From WikiTI
Jump to: navigation, search
 
m (Formatting)
 
Line 19: Line 19:
 
== Example ==
 
== Example ==
 
  <nowiki>B_CALL OP1Set3  ;OP1=floating point 3
 
  <nowiki>B_CALL OP1Set3  ;OP1=floating point 3
B_CALL Plus1  ;returns with OP1=floating point 4
+
B_CALL Plus1  ;returns with OP1=floating point 4</nowiki>
</nowiki>
+

Latest revision as of 08:41, 26 April 2005

Synopsis

Official Name: Plus1

BCALL Address: 4069

Increments the floating point number in OP1 by one.

Inputs

  • OP1 = floating point number

Outputs

  • OP1 = OP1 + 1
  • OP2 = floating point 1

Registers Destroyed

  • AF, BC, DE, HL

Example

B_CALL OP1Set3  ;OP1=floating point 3
B_CALL Plus1  ;returns with OP1=floating point 4