๐๐ต๐ฎ๐ฝ๐๐ฒ๐ฟ ๐ฑ: Arithmetic and Logic Instructions Flashcards
ADD
Addition
ADC
add-with-carry
INC
Increment
Is a special type of addition that adds 1 to a number
Increment
Types of addition not allowed
memory-to-memory and segment register
Add contents of several registers
Register Addition
Is employed whenever constant or known data are added
Immediate Addition
Z=0
result not zero
Z=1
result is zero
C=0
no carry
C=1
there is a carry
A=0
no half-carry
A=1
there is a half-carry
S=0
result positive
S=1
result negative
P=0
odd parity
P=1
even parity
O=0
no overflow
O=1
there is an overflow
Are sequential lists of data
Memory Arrays
Adds 1 to a register or a memory location
Increment Addition
Adds the bit in the carry flag to the operand data
Addition-with-Carry
XADD
Exchange and Add