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

From WikiTI
Jump to: navigation, search
 
m (purpose discovered)
Line 24: Line 24:
 
This BCALL will throw ERR:DOMAIN if [[83Plus:RAM:8478|OP1]] is not 1, 2, or 3.
 
This BCALL will throw ERR:DOMAIN if [[83Plus:RAM:8478|OP1]] is not 1, 2, or 3.
  
I can't imagine a reason for this.
+
This is somehow used with the date/time functions.

Revision as of 07:34, 4 April 2007

Synopsis

Unofficial Name: IsOneTwoThree

BCALL Address: 516D

Minimum OS Version: 2.30

Checks whether OP1 is the floating point value 1, 2, or 3.

Inputs

  • OP1: floating point number to check

Outputs

  • OP1=1: 0,(iy+3Fh) and 1,(iy+3Fh) reset
  • OP1=2: 0,(iy+3Fh) set and 1,(iy+3Fh) reset
  • OP1=3: 0,(iy+3Fh) and 1,(iy+3Fh) set

Registers Destroyed

Comments

This BCALL will throw ERR:DOMAIN if OP1 is not 1, 2, or 3.

This is somehow used with the date/time functions.