4282 Group
MACHINE INSTRUCTIONS (INDEX BY ALPHABET)
A n (Add n and accumulator)
Instrunction D8
D0
code
0 1 0 1 0 n3 n2 n1 n0
2
Number of Number of Flag CY
0 An
words
cycles
16
1
1
–
Skip condition
Overflow = 0
Operation:
(A) ← (A) + n
n = 0 to 15
Grouping: Arithmetic operation
Description: Adds the value n in the immediate field to
register A.
The contents of carry flag CY remains un-
changed.
Skips the next instruction when there is no
overflow as the result of operation.
AM (Add accumulator and Memory)
Instrunction D8
D0
code
000001010
2
Operation: (A) ← (A) + (M(DP))
Number of Number of Flag CY
00A
words
cycles
16
1
1
–
Skip condition
–
Grouping: Arithmetic operation
Description: Adds the contents of M(DP) to register A.
Stores the result in register A. The contents
of carry flag CY remains unchanged.
AMC (Add accumulator, Memory and Carry)
Instrunction D8
D0
code
000001011
2
Operation:
(A) ← (A) + (M(DP)) + (CY)
(CY) ← Carry
Number of Number of Flag CY
00B
words
cycles
16
1
1
0/1
Skip condition
–
Grouping: Arithmetic operation
Description: Adds the contents of M(DP) and carry flag
CY to register A. Stores the result in regis-
ter A and carry flag CY.
B a (Branch to address a)
Instrunction D8
D0
code
1 1 a6 a5 a4 a3 a2 a1 a0
2
Operation: (PCL) ← a6–a0
Number of Number of Flag CY
1
8
+a
a
16
words
1
cycles
1
–
Skip condition
–
Grouping: Branch operation
Description: Branch within a page : Branches to address
a in the identical page.
Rev.1.33 Mar 18, 2004 page 27 of 67