1. what is the the byte at location 0x300 Location 02EE XXXXXXXXXX39 44 E7 B2 02F8 D9 E2 D4 29 C6 2A XXXXXXXXXX3E XXXXXXXXXX2F 43 17 B5 30 7A FF AA C5 2. What is the 16 bit word at location 0x02F0 on...

Hi, I need help with a quiz on 5/14. It can be started at any time during the day. However, once it begins it needs to be completed within 2 hours. I prefer beginning around 10AM EST but I'm flexible. I have attached a sample of the quiz for your reference.


1. what is the the byte at location 0x300 Location 02EE 00 99 18 07 12 68 39 44 E7 B2 02F8 D9 E2 D4 29 C6 2A 90 63 78 3E 0302 25 2F 43 17 B5 30 7A FF AA C5 2. What is the 16 bit word at location 0x02F0 on a little endian machine below? The 32 bit word? Location 02EE 00 99 18 07 12 68 39 44 E7 B2 02F8 D9 E2 D4 29 C6 2A 90 63 78 3E 0302 25 2F 43 17 B5 30 7A FF AA C5 3. What is in the 16 bit word at location 0x2F6 on a big endian machine below? The 32 bit word? Location 02EE 00 99 18 07 12 68 39 44 E7 B2 02F8 D9 E2 D4 29 C6 2A 90 63 78 3E 0302 25 2F 43 17 B5 30 7A FF AA C5 4. What type of data is stored at 0x02F8? 5. If I have a 16 bit register containing 0xE5C3 and I perform a logical AND with 0x3941 what is the result? 6. If I have a CPU running at 1 KHZ how many cycles are in one second? duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane 7. How long does each cycle take? 8. If I have 1 KB of memory how many bytes are there? 9. If I have 1 KB of memory how many 16 bit words are there are there? 10. If I have 1 KB of memory how many 32 bit words are there are there? 11. If I have a 10 bits of address space what is the highest positive value I can represent? 12. If I have 0xA352 in a 16 bit register and I store that register at memory location 0x0400 what does the byte at address 0x0400 hold on a little endian system? duane duane duane duane duane duane duane duane duane duane duane duane duane 13. If I have 0xA352 in a 16 bit register and I store that register at memory location 0x0400 what does the byte at address 0x0400 hold on a big endian system? 14. If I have a 16 bit register and I want to set bits 3,4,7,8,9 what operation and mask should I use? 15. If I have a 16 bit register and I want to clear (set to zero) bits 10,11,12,15 what operation and mask should I use? 16. If I have an 8 bit register with 0x4A in it what is in the register after performing a right shift two bits? 17. If I have an 8 bit register with 0xF2 in it what is in the register after a 1 bit left shift? duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane 18. If an eight bit register has 0x86 in it, what is in the register after a rotate right of 4 bits? 19. If a computer which has a 32 bit word has a 34 bit byte addressable memory space how much memory is that. Express your answer in units of megabytes or gigabytes (its a test question, it doesn’t need to make sense). 20. If a computer which has a 32 bit word has a 34 bit word addressable memory space how much memory is that. Express your answer in units of megabytes or gigabytes. 21. If a computer has a 15 bit address bus how much memory can be addressed? 22. If a computer is byte addressable, has 32 bit addresses, 32 bit words, and has 1 KB pages, how many pages are there? duane duane duane duane duane duane duane duane duane duane duane duane duane 23. If a computer is word addressable, has 32 bit addresses, 32 bit words, and has 1 KB pages, how many pages are there? 24. If a computer is byte addressable, has 32 bit addresses, 32 bit words, and has 1 KB pages, what page is address 0x8263C21 on? 25. If a computer is byte addressable, has 32 bit addresses, 32 bit words, and has 1 KB pages, what addresses are on page 1000? 26. If a computer is byte addressable, has 32 bit addresses, 32 bit words, and has 2 KB pages, what is the largest square integer array which will fit on one page if integers are 4 bytes long? 27. If it were to take 30 minutes to break a 10 bit encryption key, how long would it take to break an equivalently strong 20 bit key? duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane 28. PKI certificate serial numbers are set by RFC to be at least 8 octets long and random. The serial number is a signed number. The RFC suggests prepending an octet of zero to ensure the serial number is positive. If an octet of zero is prepended to an 8 octet random serial number, how many bits long is the serial number and how many of those bits are random? 29. If an 8 octet random serial number is generated and the number is forced positive, is this compliant with the RFC? 30. Does it matter? 31. The C compiler creates two dimensional arrays in row major order and int data types are 4 bytes long (this is a 32 bit machine). There is an array is declared as int ArrayT[12][15]. What is the correct byte offset to access ArrayT[9][13]? (what value must I add to the address of ArrayT to get to this element) ? 32. The C compiler creates two dimensional arrays in row major order and int data types are 2 bytes long. There is an array is declared as int ArrayT[12][15]. What is the correct offset to access ArrayT[9][13]? (what value must I add to the address of ArrayT to get to this element) ? 33. The C compiler creates two dimensional arrays in row major order and int data types are 8 bytes long. There is an array is declared as int ArrayT[12][15]. What is the correct offset to access ArrayT[9][13]? (what value must I add to the address of ArrayT to get to this element) ? duane duane duane duane duane duane duane duane duane 34. Represent -43 as an 8 bit signed integer in two’s complement. 35. Represent -21 as an 8 bit signed integer in one’s complement. 36. Represent 51 as an 8 bit signed integer duane duane duane duane duane duane duane 37. A computer has a 32 bit address field, is byte addressable, the word length is also 32 bits, has 32 lines of direct mapped cache and each line of cache holds 8 bytes. A.) How many bits are used for the line number? B.) How many bits are used for the tag field? C.) How many bits are used for the offset? 38. A computer has a 32 bit address field, is word addressable, the word length is also 32 bits, has 16 lines of direct mapped cache and each line of cache holds 8 bytes. A.) How many bits are used for the line number? B.) What is the length of the tag field? C.) How many bits are used for the offset? 39. A computer has a 32 bit address field, is byte addressable, the word length is also 32 bits, has 16 lines of fully associative cache and each line of cache holds 8 bytes. A.) How many bits are used for the line number? B.) What is the length of the tag field? C.) How many bits are used for the offset? duane duane duane duane duane duane duane 40. A computer has a 32 bit address field, is word addressable, the word length is also 32 bits, has 16 lines of fully associative cache and each line of cache holds 4 bytes. A.) How many bits are used for the line number? B.) What is the length of the tag field? C.) How many bits are used for the offset? 41. A computer has a 32 bit address field, is byte addressable, the word length is also 32 bits, has a total of 16 lines of cache arranged as 4 sets of set associative cache. Each line of cache holds 4 bytes. A.) How many bits are used for the line number? B.) What is the length of the tag field? C.) How many bits are used for the offset? 42. A computer has a 32 bit address field, is word addressable, the word length is also 32 bits, has a total of 16 lines of 4 way set associative cache and each line of cache holds 8 bytes. A.) How many bits are used for the line number? B.) What is the length of the tag field? C.) How many bits are used for the offset? duane duane duane duane duane duane A certain computer has a direct mapped cache of 8 lines and each of those 8 lines hold 8 bytes of data. The word length of this computer is 32 bits, it has a 32 bit byte addressable memory. Memory location 0x2000 contains the data AF, memory location 0x2007 contains the data CD. Given the contents of the cache below indicate the contents of each of the memory locations if possible or just indicate that a cache miss occurred. Line # Valid Tag Data 0 1 0x80 0xAF 0xC6 0x69 0x73 0x51 0xFF 0x4A 0xCD 1 1 0x1602F5E 0x29 0xBA 0xAB 0xF2 0xFB 0xE3 0x46 0x7C 2 1 0x17120AA 0xC2 0x54 0xF8 0x1B 0xE8 0xE7 0x8D 0x76 3 1 0x17A212B 0x5A 0x2E 0x63 0x33 0x9F 0xC9 0x9A 0x66 4 0 0x1853F52 0x32 0x0D 0xB7 0x31 0x58 0xA3 0x5A 0x25 5 1 0x918EE7 0x5D 0x05 0x17 0x58 0xE9 0x5E 0xD4 0xAB 6 1 0xA921F2 0xB2 0xC6 0x9B 0xB4 0x54 0x11 0x0E 0x82 7 1 0xC01B20 0x74 0x41 0x21 0x3D 0xDC 0x87 0x70 0xE9 0x2000 line: 0 tag: 0x80 offset: 0 data: 0xAF 0x3006C83E line:_________ tag:_________ offset:_________ data:_____________ 0x614FD4A1 line:_________ tag:_________ offset:_________ data:_____________ 0x5C482A97 line:_________ tag:_________ offset:_________ data:_____________ duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane duane
May 07, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here