Calculate the following parameters of a hypothetical computer system with these features: a) HEX notation b) IR = OPCode + Mem Addr; c) IR = 16 bits; d) PC = 3 HEX digits; and e) Mem word size = Data (unsigned integer) = IR Answers: Number of different opcodes: 16 Mem size in bytes: 8192 Mem range: [000 - FFF] Data range: [0000 - FFFF]
Added by Chloe B.
Step 1
This means that there are 16 possible digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F. Show more…
Show all steps
Your feedback will help us improve your experience
Akash M and 94 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
a) How much memory in Mbytes can be accessed using 10 bits for addressing, assuming 8 bits (or 1 byte) capacity for each memory location? (5 points) b) If I have 269 Mbytes of available memory, how many bits are needed for addressing the above memory? (5 points) c) Explain the difference between RAM, program memory, and the concept of flash memory. (5 points) d) Express the following binary numbers in hexadecimal: 10101111 and 11100100 (5 points) e) Write the number -18 in binary. Please explain. (5 points)
Supreeta N.
1. Convert the following ARM assembly code into machine language. Write the instructions in hexadecimal -- 20 points. MOV R10, #63488 LSL R9, R7, #7 STR R4, [R11, R8] ASR R6, R7, R3 2. Consider the data-processing instructions with an immediate Src2. a. Which instructions from Problem 1 are in this format? b. Write out the 12-bit immediate field (imm12) of the instructions from part (a), then write them as 32-bit immediates.
Adi S.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD