CoSc 241 Computer Systems Exam Praetice the rolthe PE following initial state: c
ID: 3728511 • Letter: C
Question
CoSc 241 Computer Systems Exam Praetice the rolthe PE following initial state: crU arehitecture, assume that the CPU regters, nags and memory loca CPU: I A-reg-10182FF x-reg 0x0000 Me mory: Address Data 0x0100 0x0101 00 0x0102 0x01 03 00 0x0104 0x0 105 1 00 0x0106 82 0x0107 FF Assume that the following set of instructions execute sequentially in the form of a PEP9 program: Idwa 31,i nega stwa 0x0100,d Idwx -2048,i cpwx 0x0100.d stwx 0x0102,d ldwx 0x0106,d addx 0x0102.d Idwa 0,i suba 127,i stwa 0x0104.d stop .end Answer the following questions by filling in what values the A-reg, X-reg, status flags and will contain after each instruction executes. You must express all your answers in hexadecimal representation (except, obviously, for the status flags). memo ryExplanation / Answer
1.ldwa
CPU: A-reg :0x31FF
B-reg 0x0100,i
N:0 Z:1 V:0 C:0
2.nega:
CPU: A-reg:0x0
B-reg:0x1000
N:1 Z:0 V:0 C:0
3.stwa
CPU:
A-reg:0x0100,d
B-reg:0x0104,d
N:0 Z:1 V:0 C:4
Memory : Address Data
0x0100 00
0x0101 00
0x0102 00
0x0103 00
0x0104 00
0x0105 00
0x0106 82
0x0107 FF
computer architecture is a set of rules and methods that describe the functionality, organization, and implementation of computer systems. Some definitions of architecture define it as describing the capabilities and programming model of a computer but not a particular implementation.
Implementation
Once an instruction set and micro-architecture are designed, a practical machine must be developed. This design process is called the implementation. Implementation is usually not considered architectural design, but rather hardware design engineering. Implementation can be further broken down into several steps:
For CPUs, the entire implementation process is organized differently and is often referred to as CPU design.
Design goals
The exact form of a computer system depends on the constraints and goals. Computer architectures usually trade off standards, power versus performance, cost, memory capacity, latency (latency is the amount of time that it takes for information from one node to travel to the source) and throughput. Sometimes other considerations, such as features, size, weight, reliability, and expandability are also factors.
The most common scheme does an in depth power analysis and figures out how to keep power consumption low, while maintaining adequate performance.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.