Difference between revisions of "83Plus:BCALLs:4063"

From WikiTI
Jump to: navigation, search
(No difference)

Revision as of 21:51, 20 April 2005

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