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

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

Problem \#1 (25 points) Address Space, Memory Consider a hypothetical 23-bit processor called HYP23 with all registers, including PC and SP, being 23 bits long. The smallest addressable unit in memory is an 8-bit byte. A. (4 points) What is the size of HYP23's address space in bytes, KiB ( 210 bytes), and MiB ( 220 bytes)? How many address lines does HYP 23 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 (starts at the address 0x00000) is dedicated to HYP23's RAM memory and the upper half of the address space is reserved for HYP23's Flash memory. Give address ranges for the RAM and Flash memories. Fill in the table below. What are the sizes of the RAM memory and the Flash memory? RAM memory size [Bytes/KiB]: Flash memory size [bytes/KiB]: The MSP430F20x is a microcontroller with 64KiB of address space divided between code memory (flash), RAM memory, and input/output peripherals. It has 2,048 Bytes of RAM memory starting at the address 0x0200, and 256 Bytes of address space reserved for special purpose registers and 8-bit input/output peripherals (starting at the address 00000 ) followed by 256 Bytes reserved for 16 -bit input/output peripherals. The flash memory of 16KiB 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. D. (7 points) What is the maximum stack size in the MSP430Fx described above? What should be the initial value of SP? Using RTL notation, describe operations carried out to execute the following two instructions: PUSH R9 and POP R9. Stack size: Bytes Initial stack pointer: SP= PUSH R9: POP R9

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!