<=R

Top  Previous  Next

 

Accu 1 and accu 2 are compared and the RLO will be set to ‘1’ if accu 2 <= accu 1, otherwise to ‘0’.

It is important that both operands are already in the REAL-format. If one of the operands is loaded as Int or DInt it will have to be changed into a REAL-number with DTR before comparing. If an operand that is loaded as Int can be negative it will also have to be extended to the Dword-format with ITD before.

 

 L        MD 40

 L        2.0                // The point is important!

 <=R

 Q        Q 22.4                // If MD40 is smaller than or equals 2.0

                             Q22.4 will be set to 1,

                             otherwise to 0

 

 

See also:

-R

ABS

<R

<=D

<=I

 

List of operations