83Plus:BCALLs:4063

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