Difference between revisions of "Fadd"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
 
Line 2: Line 2:
 
''Syntax:'' <span style='font-size:12px;font-family:courier'><span style='color:red'>fadd </span>register1, register2</span>
 
''Syntax:'' <span style='font-size:12px;font-family:courier'><span style='color:red'>fadd </span>register1, register2</span>
  
* ''register1'' = Register to add float value to, and store end result in.
+
* ''register 1'' = 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.
+
* ''register 2'' = Register containing a float value which will be added to the float value of register 1.
  
 
==Use==
 
==Use==

Latest revision as of 01:24, 29 April 2013

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