83Plus:BCALLs:5173

From WikiTI
Revision as of 23:27, 16 May 2007 by Brandonw (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Synopsis

Unofficial Name: IsOP112or24

BCALL Address: 5173

Minimum OS Version: 2.30

Checks whether OP1 is the floating point value 12 or 24.

Inputs

  • OP1: floating point number to check

Outputs

  • OP1=12: 2,(iy+3Fh) reset
  • OP1=24: 2,(iy+3Fh) set

Registers Destroyed

Comments

This BCALL will throw ERR:DOMAIN if OP1 is not 12 or 24.

This is somehow used with the date/time functions.