Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please show work Instructions: The purpose of this assignment is to practice machine instruction handling and eycles by looking at a simple machine. The keynote
please show work Instructions: The purpose of this assignment is to practice machine instruction handling and eycles by looking at a simple machine. The keynote to take from this assignment is to be able to understand that data manipulation using simple machine instruction set and cycle by computing devices. For example, if you wanted to add two numbers then you can trace the execution of that instruction. This should also give you an insight as to what a computing systems would do to translate and execute machine specific instructions. In this assignment you will be working individually. You will be translating and executing machine instructions by following the machine instruction cycle. Requirements: 1 You MUST show all your work to receive full crediti 2 You will need to use the machineinstructions.pdf fileii 2.1 You can find the file under Module 2: Computer Organization and Architecture Content Supplement Recommendation: Review Module 1: Number Systems and make sure to follow Machine Instruction Cycle (Fetch, Decode, Execute). Note iil: You may get help from peers, but limited help only such as explaining the concepts. You CANNOT show them how to work out a problem from the homework. There are many machine programs that you can translate to machine instructions to help demonstrate the process of translation and execution. Problems: 1 (Total 60 Points: 10 Each) Given the following state of memory (in hexadecimal), answer Problems 1.1 through 1.6. You MUST decode the instructions, and USE the contents of memory as shown to trace the executions. 1.1 What are the contents of Register C after the execution of this instruction? 1.1.1 1C02 Op-code Operand Description (Use machineinstruction.pdf for reference) Answer 1.1.2 2C02 7312 1.6 What are the contents of Register D after the execution of these instruction? 2 (Total 40 Points: 20-10-10) Suppose the following program needs to be loaded on memory starting at address D0 with the following simple computing system information: - 16 general-purpose registers numbered 016 through F16 - 256 cells in the machine's main memory - Each cell is assigned a unique address consisting of an integer in the range of 0016 to FF16 - Each cell can hold 1-byte instructions (Two [2] hexadecimal digits) in Little-Endian - 2-byte instruction register (Four [4] hexadecimal digits) and 1-byte program-counter registers (Two [2] hexadecimal digits) 2.2 If the previous program is executed, what is the value of the Program Counter after the third instruction is executed? 2.3 If the previous program is executed, what is the value of the Instruction Register after the third instruction is executed
please show work
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started