Application instructions

3.27.6Logical Operation Instructions :

BIN 16-bit 2’s complement ... NEG, NEGP

 

 

 

 

Usable Devices

 

 

 

 

Error

 

 

 

 

Word (16-bit)

 

 

 

 

 

Bit devices

Constants

Level

Digit

Flag

 

 

devices

 

 

 

 

 

 

 

 

 

 

Designation

 

 

X

Y

M

T

C

D

K

H

N

(M9010,

 

 

M9011)

 

 

 

 

 

 

 

 

 

 

 

NEG

D

{

{

{

{

{

{

{

 

K1 to K4

{

2's complement execution commands

NEG

D

Head number of device which stores data for which 2’ complement will be performed

NEGP

Functions

(1)Reverses the sign of the 16-bit data of device specified at D and stores the result in device specified at D .

16 bits

Before execution

Sign

conversion

After execution

(2) Used to reverse the positive sign to the negative sign and vice versa.

168

Page 173
Image 173
Mitsubishi Electronics 700 Series, FR-A700 specifications 168