ASSEMBLY LANGUAGE PROGRAMMING
ARCHITECTURE OF 8085
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Opinstruction and Opmemory
|
|
Opcommand and Opstate
|
|
Opcode and Operand
|
|
Opcommand and Opmemory
|
Detailed explanation-1: -Each assembly language statement is split into an opcode and an operand . The opcode is the instruction that is executed by the CPU and the operand is the data or memory location used to execute that instruction.
Detailed explanation-2: -Instruction in memory has two parts: opcode and operands. The operands are subjects of the operation, such as data values, registers, or memory addresses. Due to variety of opcodes and operands, instructions may occupy different sizes of bytes in memory.
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: -Each instruction has two parts: one is the task to be performed called the operation code (opcode) and the other is the data to be operated on called the operand (data).
Detailed explanation-5: -order to help the teaching is more effective and student learning is enhanced, there are three major components of instruction are created upfront: 1) learning objectives, 2) assessments and 3) instructional activities (Figure 1.