Instruction Set Overview Flashcards
(23 cards)
mov <dest>, <src></src></dest>
the value of the source operand is?
changed or unchanged?
unchanged
mov <dest>, <src></src></dest>
The destination and source operand must be of the same?
mov <dest>, <src></src></dest>
Both operands cannot be both a?
memory variable
what are the supported methods for accessing a value in memory using the address of a data item being accessed?
register, immediate value, memory
what is used to access the values of memory variables?
bracket
what will happen if you omit the bracket when accessing the values of a memory variable?
You get the address of the variable instead of the value.
add <dest>, <src></src></dest>
the destination and source operand must be of the same?
size
add <dest>, <src></src></dest>
operands cannot be both
memory variables
sub <dest>, <src></src></dest>
the destination and source operand must be of the same?
size
sub <dest>, <src></src></dest>
operands cannot be both
memory variables
mul <src?
for unsigned multiplication, the source operand must be a —- or a —– location.
register
memory
What register must be used for one of the operand in a unsigned multiplication?
A register
Where will the result be placed in an unsigned multiplication?
A and D register
this transfers to a specific location in the program denoted with a program label without evaluating any condition
jmp <label></label>
Unconditional Transfer
labels may be defined how many times?
one
this jumps based on a comparison
conditional transfer
cmp <op1>, <op2></op2></op1>
operands must be of the same
size
cmp <op1>, <op2></op2></op1>
operands cannot be both
memory variables
cmp <op1>, <op2></op2></op1>
which operand can be an immediate value?
op2
cmp <op1>, <op2></op2></op1>
after comparing, the results will be stored in what register?
rFlag register
what is register is use in the loop instruction to allow for a loop to execut several iterations?
rcx