3) Given the following program: Address 100 101 102 103 104 105 106 107 108 109 10A 10B 10C 10D 10E 10F 110 111 Load X Store Temp JnS Subr Load Temp Add Temp Halt X, Y, Z, JnS Store X Load Y Store JnS Store Y Halt Hex 10 Hex 20 Hex 30 Temp, Hex 0 Subr, Hex 0 Load Temp 101 102 10E Instruction Load Store 10F 110 X Temp Subr / Store return address, jump to procedure 109 Provide a trace and give the contents (in Hexadecimal number) of PC after execution of each instruction. What are the values of X, Y, Temp, Subr after running of this program? Instruction PC Temp Subr /Store return address, jump to procedure Add Temp Add Z Jumpi Subr END X: Y: /Store return address here Temp: Subr: /Return to calling code (in Hexadecimal number) _(in Hexadecimal number) (in Hexadecimal number) (in Hexadecimal number)
3) Given the following program: Address 100 101 102 103 104 105 106 107 108 109 10A 10B 10C 10D 10E 10F 110 111 Load X Store Temp JnS Subr Load Temp Add Temp Halt X, Y, Z, JnS Store X Load Y Store JnS Store Y Halt Hex 10 Hex 20 Hex 30 Temp, Hex 0 Subr, Hex 0 Load Temp 101 102 10E Instruction Load Store 10F 110 X Temp Subr / Store return address, jump to procedure 109 Provide a trace and give the contents (in Hexadecimal number) of PC after execution of each instruction. What are the values of X, Y, Temp, Subr after running of this program? Instruction PC Temp Subr /Store return address, jump to procedure Add Temp Add Z Jumpi Subr END X: Y: /Store return address here Temp: Subr: /Return to calling code (in Hexadecimal number) _(in Hexadecimal number) (in Hexadecimal number) (in Hexadecimal number)
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Topic Video
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education