Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4. Suppose we have machine language corresponding to assembly instruction in the program memory as follows: and data memory, i.e., file registers, as follows: Additionally,

image text in transcribed

4. Suppose we have machine language corresponding to assembly instruction in the program memory as follows: and data memory, i.e., file registers, as follows: Additionally, for directive, we have 4.1. (5 pts) The Program Counter (PC) currently has 0x000010. Namely, the instruction to be run is "MOVLW 2". How is the address in PC changed until the "MOVWF Result" is run? List all the values that PC has had from 0x000010 to 0x00001A. Your answer should not be just one value (or address), but a sequence of numbers (or addresses). 4.2. (5 pts) After running this code, how does the data memory, i.e., file register, values are changed? Provide your answer in hexadecimal by filling in all the cells in the following figure. Note that each cell in the table (or figure) represents 1 byte

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Programming The Perl DBI Database Programming With Perl

Authors: Tim Bunce, Alligator Descartes

1st Edition

1565926994, 978-1565926998

More Books

Students also viewed these Databases questions