83Plus:BCALLs:4099

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

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

Synopsis

Official Name: FPDiv

BCALL Address: 4099

Divides the floating point number in OP1 by the floating point number in OP2 and stores the result in OP1.

Inputs

  • OP1 = floating point
  • OP2 = floating point

Outputs

  • OP1 = OP1/OP2

Destroys

  • AF, BC, DE, HL, OP3

Example

B_CALL OP1Set3  ;OP1=floating point 3
B_CALL OP1Set4  ;op2=4
B_CALL FPDiv  ;returns with OP1=floating point 0.75