Fdiv
From Unofficial QEdit Wiki Guide
Contents
Syntax
Syntax: fdiv register1, register2
- register 1 = Register containing a float value which will be divided amongst the float value in register 2, and store end result in.
- register 2 = Register containing a float value to be divided by the float value of register 1.
Use
Used to divide register 1's float value by register 2's float value and stores the result in register 1.
Example
100: fdiv R1, R2 //Divides the float value of register 1 by the float value of register 2, and stores the result in register 1.
ret