83Plus:BCALLs:4096

From WikiTI
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