Name: Student ID: Assignment#2 Fall 2022 consult any resources such as books, online references

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Please any how solve this question. If you need any help from internet then please take help.But please don’t refuse the question.
CSE 215: Computer Architecture and Organization
Assignment#2
Fall 2022
Name:
Student ID:
Direction: You can consult any resources such as books, online references, and videos
for this assignment, however, you have to properly cite and paraphrase your answers
when it is necessary. There will be points for partial attempts. You should submit a
handwritten answer or printed answer to class Sunday, 20th November, 2022.
Note: You are allowed to use only instructions implemented by the actual MIPS hardware
provided in the Canvas references. Use assembly language format from the references or
the book. Note, base ten numbers are listed as normal (e.g. 23), binary numbers are
prefixed with Ob and hexadecimal numbers are prefixed with Ox.
1. (30 points, 5 each) What is the single MIPS instruction, or if not possible, the shortest
sequence of MIPS instructions that performs:
1. Move content of register r11 into register r23.
2. Load register r15 with the value 265,140.
3. Store the value 55,259 into a word at memory location 40000.
4. The equation a = b + c,assuming a, b and c are integer variables at memory
location Ob10000000, 0b1001000 and Ob100010011100, respectively.
5. The equation y[5] =y[10] + x, assuming x corresponds to register r2, and y[1] is
an integer at the memory location 524,292 is the first element of vector y.
6. The statement: if (a <= b) goto lab1, assuming that variable a corresponds to the
word at memory address 400, and variable b corresponds to register r10. The
instruction with lab1 is before the branch instruction and there are 20 (machine)
instructions between those two instructions.
Transcribed Image Text:CSE 215: Computer Architecture and Organization Assignment#2 Fall 2022 Name: Student ID: Direction: You can consult any resources such as books, online references, and videos for this assignment, however, you have to properly cite and paraphrase your answers when it is necessary. There will be points for partial attempts. You should submit a handwritten answer or printed answer to class Sunday, 20th November, 2022. Note: You are allowed to use only instructions implemented by the actual MIPS hardware provided in the Canvas references. Use assembly language format from the references or the book. Note, base ten numbers are listed as normal (e.g. 23), binary numbers are prefixed with Ob and hexadecimal numbers are prefixed with Ox. 1. (30 points, 5 each) What is the single MIPS instruction, or if not possible, the shortest sequence of MIPS instructions that performs: 1. Move content of register r11 into register r23. 2. Load register r15 with the value 265,140. 3. Store the value 55,259 into a word at memory location 40000. 4. The equation a = b + c,assuming a, b and c are integer variables at memory location Ob10000000, 0b1001000 and Ob100010011100, respectively. 5. The equation y[5] =y[10] + x, assuming x corresponds to register r2, and y[1] is an integer at the memory location 524,292 is the first element of vector y. 6. The statement: if (a <= b) goto lab1, assuming that variable a corresponds to the word at memory address 400, and variable b corresponds to register r10. The instruction with lab1 is before the branch instruction and there are 20 (machine) instructions between those two instructions.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY