Completed: / exercises

Variables in C

Size of RAM (0.75p)

Address bus width is 12 lines and word length 32 bits. Suppossing that weare using a word-addressable memory, what is the memory size in bytes? Please, note that you have a maximum of 5 attempts to solve this exercise.
Give just the size as a number. Check material from chapter 2, 3 and 4.
Warning: You have not logged in. You cannot answer.

The real thing (0.75p)

Describe how C variable int32_t luku = -345; would be stored in to an 8-bit memory.
Use the following format in your answer, and use as many memory locations as needed. Addresses start from zero and both address (4 bits) and value (8 bits) are given as binary numbers.
memory_address:value
You must write one line for each memory address.
Example. Variable uint8_t example = 9; would be stored in this memory followingly:
0000:00001001
You have only 5 attempts to answer correctly this question.

Warning: You have not logged in. You cannot answer.
?