Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
Define the term 'opcode'.
Think of it as the command part of an instruction.
What is the purpose of an operand in a CPU instruction?
They are the data that the CPU works on.
What is the role of an opcode in an instruction?
Focus on what the instruction needs to tell the CPU.
True or False: The result operand in an instruction is where the operation's input is located.
Remind yourself of the roles of source and result operands.
Design an instruction format that contains an opcode for addition, two source operands, and a result operand. What would the minimum bit requirements be if you want to support 16 different addition variants?
Calculate bits needed for opcodes versus operand storage.
If a CPU has both 2-address and 3-address instruction formats, compare the potential speed and efficiency of execution of both. Which one would you prefer for performance-intensive applications and why?
Consider trade-offs between instruction length and complexity.
5 more questions in this section. Enroll free to practise them all.
Enroll free