83Plus:BCALLs:4096

From WikiTI
Revision as of 18:37, 25 April 2005 by Woozle (Talk | contribs)

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

Synopsis

Official Name: FPRecip

BCALL Address: 4096

Finds the multiplicative inverse of the floating point in OP1 and stores the result in OP1.

Inputs

  • OP1 = floating point

Outputs

  • OP1 = 1/OP1
  • OP2 = original value of OP1

Destroys

  • AF, BC, DE, HL, OP3

Example

B_CALL OP1Set4  ;OP1=floating point 4
B_CALL FPRecip  ;returns with OP1=floating point 0.25