COMPUTER SCIENCE AND ENGINEERING
COMPUTER ORGANIZATION
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Main or virtual memory
|
|
Secondary memory
|
|
Primary memory
|
|
None of the above
|
Detailed explanation-1: -2. What types of locations can hold source and destination operands? Main or virtual memory, processor register, immediate (contained in a field in the instruction being executed), and an I/O device.
Detailed explanation-2: -Memory operands are specified either by the name of a variable or by a register that contains the address of a variable. A variable name implies the address of a variable and instructs the computer to reference the contents of memory at that address.
Detailed explanation-3: -For instructions with two operands, the first (lefthand) operand is the source operand, and the second (righthand) operand is the destination operand (that is, source->destination). The Intel assembler uses the opposite order (destination<-source) for operands.
Detailed explanation-4: -Operands are entities operated upon by the instruction. Addresses are the locations in memory of specified data.