Introduction

Modifiers influence the execution of the operators (see Operators).

Table of Modifiers

Table of Modifiers:

Modifier

Use of Operators of data type

Description

N

BOOL, BYTE, WORD, DWORD

The modifier N is used to invert the value of the operands bit by bit.

Example: In the example C is 1, if A is 1 and B is 0.

LD A

ANDN B

ST C

C

BOOL

The modifier C is used to carry out the associated instruction, should the value of the accumulator be 1 (TRUE).

Example: In the example, the jump after START is only performed when A is 1 (TRUE) and B is 1 (TRUE).

LD A

AND B

JMPC START

CN

BOOL

If the modifiers C and N are combined, the associated instruction is only performed if the value of the accumulator be a Boolean 0 (FALSE).

Example: In the example, the jump after START is only performed when A is 0 (FALSE) and B is 0 (FALSE).

LD A

AND B

JMPCN START

(

all

The left bracket modifier (is used to move back the evaluation of the operand, until the right bracket operator) appears. The number of right parenthesis operations must be equal to the number of left bracket modifiers. Brackets can be nested.

Example: In the example E is 1, if C and/or D is 1 and A and B are 1.

LD A

AND B

AND( C

OR D

)

ST E

The example can also be programmed in the following manner:

LD A

AND B

AND(

LD C

OR D

)

ST E