Relationships among operation code, operand and instruction



Download 61.77 Kb.
View original pdf
Date17.12.2020
Size61.77 Kb.
#55305
operation code
operation code, operation code


Relationships among operation code, operand and instruction
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. Operation code (opcode) is the portion of a machine language instruction that specifies the operation to be performed by the CPU such as ADD OR JUMP Beside the opcode itself, most instructions also specify the data they will process, in the form of operands. An Operand provides the data itself, or the location where the data to be processed is stored that is, it is a memory location or a variable or any general purpose register that stores data you can perform operation on. e.g. MOV AX, H
MOV is the opcode, AX is the operand

Download 61.77 Kb.

Share with your friends:




The database is protected by copyright ©ininet.org 2024
send message

    Main page