0001 = Load AC from memory 0010 = Store AC to memory 0101 = Add to AC from memory 0011 = Load AC (the accumulator register) from an I/O device 0111 = Store AC to an I/O device With these instructions, a particular I/O device is identified by replacing the 12-bit address portion with a 12-bit device number. Remember that a number ending with a small ‘h’ means the number is a hexadecimal number. What is the hexadecimal string that expresses the following instructions? Load AC from memory location 62h.  Add the contents of memory location 451h to AC.  Store AC to memory location 8h.  Store AC to I/O device number 8h.

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
icon
Related questions
Question

0001 = Load AC from memory

0010 = Store AC to memory

0101 = Add to AC from memory

0011 = Load AC (the accumulator register) from an I/O device

0111 = Store AC to an I/O device

With these instructions, a particular I/O device is identified by replacing the 12-bit address portion with a 12-bit device number. Remember that a number ending with a small ‘h’ means the number is a hexadecimal number.

What is the hexadecimal string that expresses the following instructions?

  1. Load AC from memory location 62h. 
  2. Add the contents of memory location 451h to AC. 
  3. Store AC to memory location 8h. 
  4. Store AC to I/O device number 8h.
der the instruction format 101
Memory
300 1940
301 5 9 4 1
302 294 1
940 000 3
941 0 0 0 2
Step 1
Memory
300 1940
301 5941
302 294
940 000 3
941 0 0 0 2
Step 3
Memory
300 1940
301 59 41
302 2941
940 000 3
941 0 0 0 2
Step 5
nypoine
CPU registers
300 PC
Memory
300 1940
AC 301 5 9 4 1
302 294 1
•
1940 IR
machine in
CPU registers
302 PC
0005 AC
2941 IR
940 000 3
941 0 0 0 2
Step 2
CPU registers
301 PC
0003 AC
Memory
300 1940
301 5 9 4 1
5941 IR 302 294 1
940 00 03
941 0 0 0 2
Step 4
Memory
300 1940
301 594 1
302 2 9 4 1
940 000 3
941 0 0 0 5
Step 6
ngure
CPU registers
301 PC
0003 AC
1940 IR
CPU registers
302 PC
0005 AC
594 1 IR
CPU registers
303 PC
0005 AC
294 1 IR
Transcribed Image Text:der the instruction format 101 Memory 300 1940 301 5 9 4 1 302 294 1 940 000 3 941 0 0 0 2 Step 1 Memory 300 1940 301 5941 302 294 940 000 3 941 0 0 0 2 Step 3 Memory 300 1940 301 59 41 302 2941 940 000 3 941 0 0 0 2 Step 5 nypoine CPU registers 300 PC Memory 300 1940 AC 301 5 9 4 1 302 294 1 • 1940 IR machine in CPU registers 302 PC 0005 AC 2941 IR 940 000 3 941 0 0 0 2 Step 2 CPU registers 301 PC 0003 AC Memory 300 1940 301 5 9 4 1 5941 IR 302 294 1 940 00 03 941 0 0 0 2 Step 4 Memory 300 1940 301 594 1 302 2 9 4 1 940 000 3 941 0 0 0 5 Step 6 ngure CPU registers 301 PC 0003 AC 1940 IR CPU registers 302 PC 0005 AC 594 1 IR CPU registers 303 PC 0005 AC 294 1 IR
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Fundamentals of Computer System
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
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)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education