Basic Instructions

CAUTION

The comparison instruction regards the specified data as BIN values. Hence, if the value whose most significant bit (b15) is 1 (8 to F) is specified for comparison of hexadecimal data, it is regarded as a negative BIN value.

Example

Comparison of 4-digit HEX values

Regarded

Regarded

as -32767

as 1384

in BIN.

in BIN.

Therefore, the result is -32767 < 1384 and Y10 does not turn on.

SEQUENCE PROGRAMMING

3

141

Page 146
Image 146
Mitsubishi Electronics FR-A700, 700 Series specifications 141