Fadd

From Unofficial QEdit Wiki Guide
Revision as of 01:22, 29 April 2013 by Japanaman2 (Talk | contribs)

Jump to: navigation, search

Syntax

Syntax: fadd register1, register2

  • register1 = Register to add float value to, and store end result in.
  • register2 = 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