The first two bytes of a 4M x 16 main memory have the following Hex values: Byte 0 is FE Byte 1 is 04 If these bytes hold a 16-bit two's complement integer, what is its actual decimal value if: a) Memory is big endian?  b) Memory is little endian?   2. The memory unit of a computer has 2M Words of 32 bits (or 4 bytes) each. The computer has an instruction format with 4 fields: an opcode field; an addressing mode field to specify 1 of 6 addressing modes; a register address field to specify one of 7 registers; and a memory address field. Assume an instruction is 32 bits long. Answer the following:  How large must the addressing mode field be?  How large must the register field be?  How large must the address field be? How large is the opcode field?

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter3: Data Representation
Section: Chapter Questions
Problem 11VE: Most Intel CPUs use the __________, in which each memory address is represented by two integers.
icon
Related questions
Topic Video
Question
  1. The first two bytes of a 4M x 16 main memory have the following Hex values:

Byte 0 is FE

Byte 1 is 04

If these bytes hold a 16-bit two's complement integer, what is its actual decimal value if:

a) Memory is big endian? 

b) Memory is little endian?

 

2. The memory unit of a computer has 2M Words of 32 bits (or 4 bytes) each. The computer has an instruction format with 4 fields: an opcode field; an addressing mode field to specify 1 of 6 addressing modes; a register address field to specify one of 7 registers; and a memory address field. Assume an instruction is 32 bits long. Answer the following:

  •  How large must the addressing mode field be?
  •  How large must the register field be?
  •  How large must the address field be?
  • How large is the opcode field?
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 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
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning