The purpose of this assignment is to become familiar with the add and sub instructions. Addin' 'n Subtractin' 1. Assume the following values are stored at the indicated memory addresses and register Address Value Register Zeax Value ex5e0 OXED exsee ex504 ex78 Xebx 8X93FA1C9C exse8 Вx79 Xecx ex7 exsec OXF1 Xedx exA Fill in the following table, showing the effects of the indicated instructions, and showing wi register (state the smallest unit that is affected) or memory location that would be change its new value. Also, show the OF and CF values AFTER the instruction executes. Assume ea instruction is independent of the others. In other words, the initial conditions specified o hold for each of the instructions shown below. SHOW ALL VALUES IN HEXADECIMAI What Changed? list address or register) Instruction New Value (in hex) 1. subb $0xA, 12(%eax) 2. subb 8(%eax), %dl 3. addl %ebx, %ebx 4. addl %ecx, (Хеах) 5. addb %dl, 8(%eax) 6. subl %edx, 4(%eax) 7. subl %edx, %ecx 8. subb %bl, %bh
The purpose of this assignment is to become familiar with the add and sub instructions. Addin' 'n Subtractin' 1. Assume the following values are stored at the indicated memory addresses and register Address Value Register Zeax Value ex5e0 OXED exsee ex504 ex78 Xebx 8X93FA1C9C exse8 Вx79 Xecx ex7 exsec OXF1 Xedx exA Fill in the following table, showing the effects of the indicated instructions, and showing wi register (state the smallest unit that is affected) or memory location that would be change its new value. Also, show the OF and CF values AFTER the instruction executes. Assume ea instruction is independent of the others. In other words, the initial conditions specified o hold for each of the instructions shown below. SHOW ALL VALUES IN HEXADECIMAI What Changed? list address or register) Instruction New Value (in hex) 1. subb $0xA, 12(%eax) 2. subb 8(%eax), %dl 3. addl %ebx, %ebx 4. addl %ecx, (Хеах) 5. addb %dl, 8(%eax) 6. subl %edx, 4(%eax) 7. subl %edx, %ecx 8. subb %bl, %bh
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
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 3 steps
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