Treat the register names R1, ..., R7 as well as the memory cell names PC, N, Z and P as variables which each hold a 16-bit number. Treat M[a] as the memory array of 16-bit integers with the index a in the range: x0000, ..., xFFFF. Assume that N = 0, Z = 0, P = 1. After each of the following instructions give the Java-like assignment statement which performs what that specific instruction does in terms of the bits in the instruction itself and only using the names given above. If an instruction does nothing, write nothing Specify all offests with hexadecimal values. Extra spaces or no spaces between arithmetic operators will not invalidate an answer. 1. The instruction: 0000001000000001

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
Topic Video
Question

I need help finind the hexadecimal values

Treat the register names R1, ..., R7 as well as the memory cell names PC, N, Z and P as variables which each hold a 16-bit number.
Treat M[a] as the memory array of 16-bit integers with the index a in the range: x0000, ..., xFFFF.
Assume that N = 0, Z = 0, P = 1.
After each of the following instructions give the Java-like assignment statement which performs what that specific instruction does in terms of
the bits in the instruction itself and only using the names given above. If an instruction does nothing, write nothing
Specify all offests with hexadecimal values. Extra spaces or no spaces between arithmetic operators will not invalidate an answer.
1. The instruction: 0000001000000001
2. The instruction: 0011111000000011
Extra spaces or no spaces between arithmetic operators will not invalidate an answer.
3. The instruction: 0111101011000001
Extra spaces or no spaces between arithmetic operators will not invalidate an answer.
4. The instruction: 1011110000000000
Extra spaces or no spaces between arithmetic operators will not invalidate an answer.
Save
Reset
Transcribed Image Text:Treat the register names R1, ..., R7 as well as the memory cell names PC, N, Z and P as variables which each hold a 16-bit number. Treat M[a] as the memory array of 16-bit integers with the index a in the range: x0000, ..., xFFFF. Assume that N = 0, Z = 0, P = 1. After each of the following instructions give the Java-like assignment statement which performs what that specific instruction does in terms of the bits in the instruction itself and only using the names given above. If an instruction does nothing, write nothing Specify all offests with hexadecimal values. Extra spaces or no spaces between arithmetic operators will not invalidate an answer. 1. The instruction: 0000001000000001 2. The instruction: 0011111000000011 Extra spaces or no spaces between arithmetic operators will not invalidate an answer. 3. The instruction: 0111101011000001 Extra spaces or no spaces between arithmetic operators will not invalidate an answer. 4. The instruction: 1011110000000000 Extra spaces or no spaces between arithmetic operators will not invalidate an answer. Save Reset
Expert Solution
Step 1

Answer:

1).IINSTRUCTION :0001010110000111.

Hex number :EB 2F3F 6BEF

Hex signed 2 complements: 0000 00EB 2F3F 6BEF

Binary numbers: 11101011 00101111 00111111 01101011 11101111

Decimal to hexa decimal step :

Computer Engineering homework question answer, step 1, image 1

 

2).INSTRUCTION :0000001000000011.

Hex number: 3B9ACA0B

Hex signed 2’s complement: 3B9ACA0B

Binary number: 111011100110101100101000001011.

Decimal to hex calculation step:

Computer Engineering homework question answer, step 1, image 2

 

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 5 images

Blurred answer
Knowledge Booster
Instruction Format
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