Individual Instruction Descriptions
4-144
4.14.50 NOTACS One’s Complement Negation of Accumulator String
Syntax
[label] name dest, src
Clock,
clk
Word,
w
With RPT,
clk
Class
NOTACS A
n
[~], A
n
[~] n
S
+2 1 n
R
+2 3
Execution
dest
⇐ NOT
src
PC ⇐ PC + 1
Flags Affected OF, SF, ZF, CF are set accordingly
Opcode
Instructions 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NOTACS A
n
[~], A
n
[~] 1 1 1 0 0 1 1 A
n
0 0 0 0 1 0 A~ ~A
Description Perform one’s complement of
src
accumulator string and store result in
dest
accumulator string.
See Also NOTAC, AND, ANDB, ANDS, OR, ORB, ORS, XOR, XORB, XORS, NEGAC,
NEGACS
Example 4.14.50.1 NOTACS A3~, A3
Take the one’s complement (invert bits) of the accumulator string A3 and put result in accumulator string
A3~.