SQR |
Top Previous Next |
The square of the number in accu 1 is calculated and stored in accu 1.
It is important that the operand in accu 1 is already in the REAL-format. If it is loaded in Int or DInt it will have to be converted into a REAL-number before the calculation with DTR. If an operand that is loaded as Int can be negative it will have to be extended with ITD to the Dword-format before as well.
See also:
|