Difference between revisions of "Fadd"
From Unofficial QEdit Wiki Guide
Japanaman2 (Talk | contribs) |
Japanaman2 (Talk | contribs) |
||
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. | + | * ''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. | + | * ''register2'' = Register containing a float value which will be added to the float value of register 1. |
==Use== | ==Use== |
Revision as of 01:22, 29 April 2013
Contents
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