ADD n without carry

Addition of a number without carry
76543210
 
\(A \longleftarrow A + n\)
ADD A, n
11000110C6
n
Flags Affected
Flags
sz-h-p/v-c
sset if result negative
zset if result is 0
hset if carry from bit 3
p/vset if overflow
cset if carry from bit 7
Opcode Matrix
n
A
ADD A,n
C6nn27
Opcode Matrix Legend
Instruction Opcode hexSize bytesCycle count
 Implicit

Last modified November 16, 2021: Add flags to math operations (63d34c2)