Fsub

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

Syntax

Syntax: fsub register1, register2

  • register 1 = Register to subtract float value from, and store end result in.
  • register 2 = Register containing a float value which will be subtracted from the float value of register 1.

Use

Used to subtract the float value of register 2 from the float value of register 1, and stores the end result in register 1.

Example


100:     fsub R1, R2 //subtracts the float value of register 2 from the float value of register 1, and stores the result in register 1.
         ret 

Also see

ret