Fadd

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

Syntax

Syntax: fadd register1, register2

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

Use

Used to add 2 register's float values together.

Example


100:     fadd R2, R1 //Adds the float value of register 1 to the float value of register 2, and stores the result in register 2.
         ret 

Also see

ret