2-167

2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)

Symbol Math Instructions

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.

RCY
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.