• Math commands like "Add 5 to x" or "Subtract 3 from y" should be sent to the ALU. • Drawing commands like "Plot(x,y)" should be sent to the Display. First, ask the Memory for the current values of x and y, then give them to the Display. Be sure to check off each line of the program as you finish it (so that you don't lose track of where you are). O Add 4 to x O Add 2 to y O Plot (x,y) Add 3 to x Add 1 to x O Add 4 to y Plot (x,y) Subtract 3 from x

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
1. CPU-
• Math commands like "Add 5 to x" or "Subtract 3 from y" should be sent to the ALU.
• Drawing commands like "Plot(x,y)" should be sent to the Display.
First, ask the Memory for the current values of x and y, then give them to the Display.
Be sure to check off each line of the program as you finish it (so that you don't lose track
of where you are).
Add 4 to x
Add 2 toy
Plot (x, y)
Add 1 to x
Add 4 to y
Plot (x, y)
Add 3 to x
Add 2 to y
O Plot (x, y)
O Subtract 6 from x
Plot (x,y)
Subtract 3 from x
Add 1 to y
Plot (x,y)
Subtract 5 from y
Plot (x, y)
Add 4 to x
Add 2 to y
Plot (x, y)
Add 5 to x
Subtract 3 from y
Plot (x,y)
O Subtract 1 from x
O Add 5 to y
Plot (x, y)
Subtract 6 from x
Plot (x, y)
Add 3 to x
Subtract 3 from x
Add 4 to y
Subtract 1 from y
O Plot (x,y)
O subtract 4 from y
O Plot (x, y)
Plot (x, y)
Add 3 to x
Subtract 5 from y
Plot (x, y)
Subtract 1 from x
DONE !
Add 1 to y
Plot (x, y)
Add 4 to x
O Subtract 1 from y
O Plot (x,y)
Transcribed Image Text:1. CPU- • Math commands like "Add 5 to x" or "Subtract 3 from y" should be sent to the ALU. • Drawing commands like "Plot(x,y)" should be sent to the Display. First, ask the Memory for the current values of x and y, then give them to the Display. Be sure to check off each line of the program as you finish it (so that you don't lose track of where you are). Add 4 to x Add 2 toy Plot (x, y) Add 1 to x Add 4 to y Plot (x, y) Add 3 to x Add 2 to y O Plot (x, y) O Subtract 6 from x Plot (x,y) Subtract 3 from x Add 1 to y Plot (x,y) Subtract 5 from y Plot (x, y) Add 4 to x Add 2 to y Plot (x, y) Add 5 to x Subtract 3 from y Plot (x,y) O Subtract 1 from x O Add 5 to y Plot (x, y) Subtract 6 from x Plot (x, y) Add 3 to x Subtract 3 from x Add 4 to y Subtract 1 from y O Plot (x,y) O subtract 4 from y O Plot (x, y) Plot (x, y) Add 3 to x Subtract 5 from y Plot (x, y) Subtract 1 from x DONE ! Add 1 to y Plot (x, y) Add 4 to x O Subtract 1 from y O Plot (x,y)
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

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