Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribed
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 (Kilo Bytes). 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 th 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 0x0000) 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 Flash Memory RAM Memory Last Flash address First Flash address Last RAM address First RAM address Last 1/0 address (16-bit per.) First 1/0 address (16-bit per.) Last 1/0 address (8-bit per.) First I/O address (8-bit per.) 1/0 address space 1/0 address space 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

7. Senior management supports the career system.

Answered: 1 week ago