Mitsubishi — 3.14.3.2 Logical Operation

Chapter 3 Creating and Editing Screens $1 = NOT $0 Store the result of $1. $0 = F100H, $1 = 0EFFH. Perform the logical NOT operation on $2, and save the result in $4 (this is an operation of signed 32-bit data). $4 = NOT $2 (Signed DW) Store the result of $4. $2 = F100 F100H, $4 = 0EFF 0EFFH.  Equation Var1 = Var2 Explanation Shift Var2 (WORD/DWORD) data to left (number of bit is Var3). The result of this calculation is stored in Var1. Remark  The calculation result can be stored as WORD and DWORD.  Var1 can be internal memory only. Var2 and Var3 can be internal memory or constant. Example $0 = F100H Shift-left 4 bits and becomes $1 = 1000H (this is an operation of unsigned 16-bit data).

Revision May, 2010 3-325