83Plus:BCALLs:4063

From WikiTI
Revision as of 20:51, 20 April 2005 by Woozle (Talk | contribs)

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

Synopsis

Official Name: InvSub

BCALL Address: 4063

Computes the floating point subtraction op2-op1.

Inputs

  • op1 = floating point number
  • op2 = floating point number

Outputs

  • op1 = op2-op1

Registers Destroyed

  • AF, BC, DE, HL

Comments

This is similar to FPsub.

Example

Suppose op1=00h,80h,12h,00h,... And op2=00h,80h,10h,00h,... After B_CALL InvSub, op1=80h,7Fh,20h,00h,...

Suppose op1=00h,80h,10h,00h,... And op2=00h,80h,12h,00h,... After B_CALL InvSub, op1=00h,7Fh,20h,00h,...