500 likes | 654 Views
Microprocessor’s Instruction Set. Assembly Language Programming Part 2. Microprocessor’s Instruction Set. An instruction set is a list of all the instructions , and all their variations , that a processor (or in the case of a virtual machine, an interpreter ) can execute.
E N D
Microprocessor’s Instruction Set Assembly Language ProgrammingPart 2
Microprocessor’s Instruction Set • An instruction set is a list of all the instructions, and all their variations, that a processor (or in the case of a virtual machine, an interpreter) can execute. • an instruction is a single operation of a processor defined by an instruction set architecture. • On traditional architectures, an instruction includes • An opcode specifying the operation to be performed, such as "add contents of memory to register", • zero or moreoperand specifiers, which may specify registers, memory locations, or literal data. The operand specifiers may have addressing modes determining their meaning or may be in fixed fields.
Microprocessor’s Instruction Set • Instructions include: • Arithmetic such as add and subtract • Logic instructions such as and, or, and not • Data instructions such as move, input, output, load, and store • Control flow instructions such as goto, if ... goto, call, and return.