83Plus:BCALLs:4AEF

From WikiTI
Revision as of 20:37, 24 March 2007 by Nyquist562 (Talk | contribs)

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

Synopsis

Official Name: ConvOP1

BCALL Address: 4AEF

Converts a floating-point number in OP1 to a two-byte hexadecimal number in DE.

Inputs

  • OP1 = Floating Point Number in standard TI-OS decimal format.

Outputs

  • A = Least SIgnificant Byte Value
  • DE = Hex Value

Registers Destroyed

Unknown

Comments

This information was supplimented by the Detatched Solutions forum site. This routine is used to convert a floating-point number OP1 to a hex value in DE, but if the number in OP1 is greater than 9999, an error will occur. The same is thought to happen with decimal numbers; oince discovered, more doccumentation will appear on this ROM call.