Question: Problem #1 (25 points) Address Space, Memory Consider a hypothetical 22-bit processor called HYP22 with all registers, including PC and SP, being 22 bits long.

 Problem #1 (25 points) Address Space, Memory Consider a hypothetical 22-bit

Problem #1 (25 points) Address Space, Memory Consider a hypothetical 22-bit processor called HYP22 with all registers, including PC and SP, being 22 bits long. The smallest addressable unit in memory is an 8-bit byte. A. (4 points) What is the size of HYP22's address space in bytes, KiB (2^10 bytes), and MiB (2*20 bytes)? How many address lines does HYP22 require? Address space: _Bytes Address space: KiB (kilobytes). Address bus lines: Address space: MiB (MegaBytes). B. (6 points) Assume that first quarter of the address space is dedicated for HYP22's RAM memory and the upper half of the address space is reserved for HYP22's Flash memory. Give address ranges for the RAM and Flash memories. Fill in the table below. What is the size of the RAM memory and the Flash memory? Start byte address End byte address RAM memory Flash memory RAM memory size [Bytes/KiB): Flash memory size [bytes/KiB)_ The MSP430F20x is a microcontroller with 64 KB of address space divided between code memory (flash), RAM memory, and input/output peripherals. It has 256 Bytes of RAM memory starting at the address Ox0200, and 256 Bytes of address space reserved for special purpose registers and 8-bit input/output peripherals (starting at the address Ox0000) followed by 256 Bytes reserved for 16-bit input/output peripherals. The flash memory of 4 KB resides at the top of address space (highest addresses in the address space). C. (8 points) Determine the address map by filling in the following table. Address Address Sections in hexadecimal) address space Last Flash address Flash Memory First Flash address Last RAM address RAM Memory First RAM address Last 1/0 address (16-bit per.) 1/0 address space First /O address (16-bit per.) Last 1/0 address (8-bit per.) 1/0 address space First 1/0 address (8-bit per.) D. (7 points) What is the program stack (what is it, where is it located, and how we deal with it)? What is the maximum stack size in the MSP430Fx described above? What should be the initial value of SP

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!