83Plus:BCALLs:406F

From WikiTI
Revision as of 16:27, 22 April 2005 by 66.66.23.91 (Talk)

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

Synopsis

Official Name: FPSub

BCALL Address: 406F

Subtracts the floating point number in OP2 from the floating point number in OP1 and stores the result in OP1.

Inputs

  • OP1 = floating point number
  • OP2 = floating point number

Outputs

  • OP1 = OP1 - OP2
  • OP2 = - OP2

Registers Destroyed

  • AF, BC, DE, HL

Example

B_CALL OP1Set3  ;OP1=floating point 3
B_CALL OP2Set2  ;OP2=floating point 2
B_CALL FPSub  ;returns with OP1=floating point 1