Question

In: Computer Science

Suppose the memory cells at address 0x00 through 0x0D in the vole contain the following bit...

Suppose the memory cells at address 0x00 through 0x0D in the vole contain the following bit patterns:
Address. contents
0x00. 0x20
0x01. 0x04
0x02 0x21
0x03. 0x01
0x04. 0x40
0x05 0x12
0x06. 0x51
0x07. 0x12
0x08 0xB1
0x09. 0x0C
0x0A. 0xB0
0x0B. 0x06
0x0C. 0xC0
0x0D. 0x00
Assume that the machine starts with its program counter contaning 0x00.

WHat bit pattern will be in register 0x00 when the machine Halts?

WHat bit pattern will be in register 0x01 when the machine Halts?

WHat bit pattern is in the program counter when the machine Halts?

Solutions

Expert Solution

A program counter (PC) is a register that contains the address of the next instruction to be executed from memory. The contents of PC are incremented by the appropriate offset after processor loads instruction for execution to point to next memory from where next instruction is to be fetched.

Answers are in attached image


Related Solutions

Consider a memory system with a 14 bit long address. Produce the answer to each of...
Consider a memory system with a 14 bit long address. Produce the answer to each of the following parts using hexadecimal numbers. a. There is a 1.5k byte RAM device, starting at address $200. What is its last address? b. There is a 1k byte EPROM device, starting at address $900.What is is last address? c. There is a 7k byte ROM device, its last address is at the highest system address. What is its first address? d. Use your...
Write a MIPS program that always checks the bit 0 of a memory data at address...
Write a MIPS program that always checks the bit 0 of a memory data at address 0x0BF81234. If it is equal to one add nth and (n+1)th elements of an array and store it to memory address 0x0BF85678 . Suppose $t0 contains the address of the 0th element of an array of 32-bit data and $t1 = n.
Suppose a microprocessor has a 16-bit address bus and a 16-bit data bus, and the addressable...
Suppose a microprocessor has a 16-bit address bus and a 16-bit data bus, and the addressable unit is a byte. A. If the memory of this microprocessor is 16-bit memory (memory that can input and output data at a time of 16 bits), what is the maximum amount of memory space that the processor can directly access? B. If the memory of this microprocessor is 8-bit memory (memory that can input and output data 8 bits at a time), what...
For a direct mapped cache design with 32 bit address, the following bits of the address...
For a direct mapped cache design with 32 bit address, the following bits of the address are used to access the cache Tag Index Offset 31 - 8 7 - 4 3 - 0 What is the cache block size (in words)? How many entries does the cache have? What is the ratio between total bits required for such a cache implementation over the data storage bits? Starting from power on, the following byte-addressed cache references are recorded. Address 0...
Design a 64M x 64-bit memory using 16M x 16-bit memory modules.
Design a 64M x 64-bit memory using 16M x 16-bit memory modules.
The followings are 8-bit words is stored in the memory. Suppose when the words were read...
The followings are 8-bit words is stored in the memory. Suppose when the words were read from the memory, the check bits are calculated to be 0010. Using Hamming error correction code, find the he check bits stored together with the word, the syndrome word and the word fetched from the memory for the word given below. 0110 1010                                                                                                                      1111 0001                                                                                                                     
Explain the importance of immunological memory cells. Describe in detail how and when memory cells arise...
Explain the importance of immunological memory cells. Describe in detail how and when memory cells arise and explain how they form the basis for effective immunizations.
Suppose you have a hypothetical machine that has 4 MB of physical memory and a 24-bit...
Suppose you have a hypothetical machine that has 4 MB of physical memory and a 24-bit address space. Your hypothetical machine uses paging in a linear page table. Each page holds 512 bytes. Each page still holds 512 bytes. Given the following virtual address, partition the bits into a virtual page number and an offset. 0xC3D0E6
What's the memory address for the following elements arrays given: Base Address: 1000, Dimensions: 10 rows,...
What's the memory address for the following elements arrays given: Base Address: 1000, Dimensions: 10 rows, 5 columns, 4 byte elements. Elements: 0,0; 9,4; 2,2; 4,1; Base Address: 500, Dimensions: 10 rows, 15 columns, 4 byte elements. Elements: 0,0; 9,14; 2,2; 4,11; Base Address: 800, Dimensions: 4 rows, 5 columns, 2 byte elements. Elements: 0,0; 3,4; 2,2; 3,4;
How many bit strings of length fifteen a) Contain at least four 0s? b) Contain at...
How many bit strings of length fifteen a) Contain at least four 0s? b) Contain at most four 0s? c) Contain exactly four 0s? d) Begin with four 0s?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT