SQRT Examples
Example 1:
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
|
|
|
•2 |
|
| |||
|
|
|
|
9 |
|
|
|
|
•3 |
No Condition Flag is set.
Example 2:
|
|
|
|
|
|
|
|
|
100 |
|
|
|
|
3 |
|
| |||
|
|
|
|
100 |
|
|
|
|
0 |
The OVER Condition Flag is set. BASE was too small to contain 10. The LESS and ZERO Condition Flags are unpredictable.
Example 3:
|
|
|
|
|
|
Variable |
|
Contents |
|
Before: |
RECVING |
5.2 |
••121.00 |
|
| |||
|
After: |
RECVING |
5.2 |
••121.00 |
The LESS Condition Flag is set. The source operand has a negative amount.
![]() |