83Plus:BCALLs:4261

From WikiTI
Revision as of 19:01, 3 April 2005 by 66.66.23.91 (Talk)

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

Synopsis

Official Name: FDiv100

BCALL Address: 4261

Performs a fast divide by 100 on op1.

Inputs

  • op1 = floating point number

Outputs

  • op1 = op1 / 100

Registers Destroyed

  • A

Comments

This function divides op1 by 100. This is done by twice decrementing the exponent. Checks are performed to prevent an underflow. This is much faster than FPDiv when op2=100.

Example

Suppose op1=00h,80h,10h,00h,... After B_CALL FDiv100, op1=00h,7Eh,10h,00h,...