You are given an instance of a program in MARS MIPS simulator window. Register $29, named stack pointer, stores the address of an integer on TOP of the stack. Some values (pushed) stored on this stack are shown in DATA SEGMENT window. La an Setngs Josts speed at max no interaction Ede Eecute Hegoters Coprec1 Coproc Name Number text Segment ere Addresa Coe Basic Source 11 1 i the k wo014 O tttaasie i,4,0stttttttt PPS 1the .. st 2, Dep 11 12 Pb p, tep, 1 the 90410030 ONOiet 2,429, 1 14 36 Data Segment Adress Value Value (10 Va 14) Vale 1 Value to 21 22 28 ist 24 25 26 cnt Sap Hedecimal AdtressesHeatecimal Vales DASC 29 Mers Messages RunO 30 31 ereti reset eoepietes. Cear PLEASE SHOW YOUR WORK how did you get your answer! 2.1. As] What value is stored in stack pointer register Ssp? How this value is used in the program? 2 inints] What is the signed decimal value of an integer stored on top of the stack.? ( HINT: you have to find it in Data Sey Wisgawindow). 2.3.1 2.r.Ats] Compute the address of an integer stored on the stack at offset +12 from the stack pointer (Hint: Use the answer objained in question 2.1). 2.3.2[41 4.Í g What is the signed decimal value of the integer at this address? (Hint: Use the address obtained in question 2.3.1) 2.4.14.4. Lats] Compute the address of an integer stored on the stack at offiet +20 from the stack pointer. 2.4.2 4. 28] What is the signed decimal value of the integer at this address? 2.. nts] Can you determine the unsigned value of an integer stored in register $29?
You are given an instance of a program in MARS MIPS simulator window. Register $29, named stack pointer, stores the address of an integer on TOP of the stack. Some values (pushed) stored on this stack are shown in DATA SEGMENT window. La an Setngs Josts speed at max no interaction Ede Eecute Hegoters Coprec1 Coproc Name Number text Segment ere Addresa Coe Basic Source 11 1 i the k wo014 O tttaasie i,4,0stttttttt PPS 1the .. st 2, Dep 11 12 Pb p, tep, 1 the 90410030 ONOiet 2,429, 1 14 36 Data Segment Adress Value Value (10 Va 14) Vale 1 Value to 21 22 28 ist 24 25 26 cnt Sap Hedecimal AdtressesHeatecimal Vales DASC 29 Mers Messages RunO 30 31 ereti reset eoepietes. Cear PLEASE SHOW YOUR WORK how did you get your answer! 2.1. As] What value is stored in stack pointer register Ssp? How this value is used in the program? 2 inints] What is the signed decimal value of an integer stored on top of the stack.? ( HINT: you have to find it in Data Sey Wisgawindow). 2.3.1 2.r.Ats] Compute the address of an integer stored on the stack at offset +12 from the stack pointer (Hint: Use the answer objained in question 2.1). 2.3.2[41 4.Í g What is the signed decimal value of the integer at this address? (Hint: Use the address obtained in question 2.3.1) 2.4.14.4. Lats] Compute the address of an integer stored on the stack at offiet +20 from the stack pointer. 2.4.2 4. 28] What is the signed decimal value of the integer at this address? 2.. nts] Can you determine the unsigned value of an integer stored in register $29?
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...
Related questions
Question
MIPS
Data segment!
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images
Recommended textbooks for you
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 Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
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 Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
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
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY