Question: Hi, Please assist. Please show all your work. Numb... Hi, Please assis
ID: 3861101 • Letter: Q
Question
Question: Hi, Please assist. Please show all your work. Numb...
Hi,
Please assist.
Please show all your work. Number all your work. Clarity.
******************************************************************
Please show all your work.
Number 5: Instruction Set Analysis and CPU Architecture-
We need to develop an instruction set, formats, and CPU architecture to support the following operations:
R3 <-- R1 OP R2: 32 instructions
R1 <-- R1 OP R2: 32 instructions
MEM <-- R1: 32 instructions
R2 <-- R1 OP MEM: 16 instructions
MEM <-- R1 OP R2: 16 instructions
The machine has 8 general purpose registers, each 16 bits in size. Memory is accessed by a base plus displacement of 16 bits.
5a. Analysis. & Instruction Formats
5b. CPU internal design
Explanation / Answer
Machine language
Machine language is built up from discrete statements or instructions. On the processing architecture, a given instruction may specify:
More complex operations are built up by combining these simple instructions, which are executed sequentially, or as otherwise directed by control flow instructions.
Instruction types
Examples of operations common to many instruction sets include:
Data handling and memory operations
Arithmetic and logic operations
Control flow operations:
Coprocessor instructions[edit]
Complex instructions[edit]
Processors may include "complex" instructions in their instruction set. A single "complex" instruction does something that may take many instructions on other computers.[citation needed] Such instructions are typified by instructions that take multiple steps, control multiple functional units, or otherwise appear on a larger scale than the bulk of simple instructions implemented by the given processor. Some examples of "complex" instructions include:
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.