Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please do each part the question states. Thanks! Below is a RISC-style program with a byte-addressable memory. START-0x80 is the starting memory address of ten

image text in transcribed

Please do each part the question states.

Thanks!

Below is a RISC-style program with a byte-addressable memory. START-0x80 is the starting memory address of ten consecutive 32-bit data words: 88, 53, -3, -216, 62, -9, -105, 16, -2000, and -96 (all in decimal). What are the contents (in hexadecimal) of R1, R2, R3, and R4 after the execution of this program? Note that the comparisons consider signed numbers. For example, 0x06 is greater than OxFE if they are interpreted as signed numbers. Please assume 2's complement for negative numbers. Show how you get your results for partial credit. (20 pts, 5 each) Move Move Load Add R4, #START R5, #9 R1, (R4) R4, R4, #4 R2, (R4) LOOP: Load Branch_if_IR2RI NEXT Move Move R1, R2 R3, R4 R4, R4, #4 R5, R5, #1 NEXT: Add Subtract Branch_if_IR LOOP The numbers (in hexadecimal) in R1, R2, R3, and R4 are: [R1]= R2 R3] [R4] =

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

Step: 3

blur-text-image

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

Advanced Database Systems For Integration Of Media And User Environments 98

Authors: Yahiko Kambayashi, Akifumi Makinouchi, Shunsuke Uemura, Katsumi Tanaka, Yoshifumi Masunaga

1st Edition

9810234368, 978-9810234362

More Books

Students also viewed these Databases questions