Chapter 6 Applied Instructions API 0106 Symbol: S 1 : Multiplicand Double word/Long word S 2 : Multiplier Double word/Long word D : Product Double word/Long word Explanation: 1. The floating-point number in S 1 is multiplied by the floating-point number in S 2 , and the product is stored in D . 2. When the operation result is zero, SM600 is ON. 3. The multiplication of 32-bit single-precision floating-point numbers: When the absolute value of the operation result is less than value which can be represented by the minimum floating-point number, the value in D is 16#FF7FFFFF.
When the absolute value of the operation result is larger than the value which can be represented by the maximum floating-point number, the value in D is 16#7F7FFFFF. S S 1 S 2 +1 S S2 S 1 +1 D+1 D b31.........b16 b15...........b0 * b31.........b16 b15...........b0 b31.........b16 = b15...........b0 4. The multiplication of 64-bit double-precision floating-point numbers: When the absolute value of the operation result is less than the value which can be represented by the minimum floating-point number, the value in D is 16#FFEFFFFFFFFFFFFF.
When the absolute value of the operation result is larger than the value which can be represented by the maximum floating-point number, the value in D is 16#7FEFFFFFFFFFFFFF. 6-49 Instruction code Operand Function D F* P S , S , D 1 2 Multiplication of floating-point numbers Device X Y M S T C HC D L SM SR E PR K 16# “$” DF S 1 S 2 D Pulse instruction 32-bit instruction (7-9 steps) 64-bit instruction (7-9 steps) AH500 AH500 AH500