4.7.3.3 Fo CompOrgArch ( The processor instruction set) Flashcards
(11 cards)
What is an instruction set
- Complete sets of instructions that a given processor can understand
What is meant by a low level language
A LLL is a language that provides little or no abstraction from a computer’s instruction set architecture
What are the Features of an instructions set
- Written in Binary
- Made up of opcode and one or more operands for each instruction
- Either RISC or CISC
What are the 4 types of instructions
- Data transfer between registers or memory
- Arithmetic operations
- Logical operations
- Branch operations that allows the program to loop or change flow
What are the advantages of RISC (Reduced Instruction Set Computing)
- Simpler hardware, making it cheaper
- Instructions are completed in one cycle allowing for pipelining
- Needs less energy to run
- Quicker for simpler tasks
What is meant by pipelining
In RISC, if some lines of code don’t rely on each other, they can be run at the same time by different processors. Since they all take the same amount of time, this makes the program run faster overall, because the total execution time is greatly decreased.
What are the advantages of CISC
- More efficient for intensive tasks
- Simpler to code using CISC
- Quicker to debug code
What is an instruction made up of
- opcode and one or more operands
What is meant by the opcode in the instruction
The type of operation that the instruction should carry out and how it should go about doing so
What two things does the opcode contain
- The operation
- The addressing mode
What is meant by the operands in the instruction
The pieces of data on which the operation is carried out on