beautypg.com

Function, 2 instructions – Omron SYSMAC CP CP1E-N@@D@-@ User Manual

Page 203

background image

2-167

2 Instructions

CP1E CPU Unit Instructions Reference Manual(W483)

Sym

bol

Math I

n

stru

ctio

ns

2

–/–L

Function

–(400) subtracts the binary values in Su from Mi and outputs the result to R. When the result is nega-
tive, it is output to R as a 2’s complement.

–L

–L(411) subtracts the binary values in Su and Su+1 from Mi and Mi+1 and outputs the result to R, R+1.
When the result is negative, it is output to R and R+1 as a 2’s complement.

R

CY

Mi

Su

(Signed binary)

(Signed binary)

(Signed binary)

CY will turn ON
when there is a
borrow.

Su+1

CY

R

Mi+1

R+1

Mi

Su

(Signed binary)

(Signed binary)

(Signed binary)

CY will turn ON
when there is a
borrow.

This manual is related to the following products: