Question
A computer has 32 -bit instruction and 12 -bit addresses. If there are 250 two-address instructions, how many one-address instructions can be formulated?(A) 6(B) 256(C) 12,288(D) 24,576
Step 1
This means that the opcode (operation code) is 8 bits long (32 - 2*12 = 8). Since 2 to the power of 8 is 256, there are 256 possible combinations for the opcode. Show more…
Show all steps
Your feedback will help us improve your experience
Narayan Hari and 55 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 computer has 32-bit instructions and 12-bit addresses. Suppose there are 250 two-address instructions. How many one-address instructions can be formulated? Explain your answer.
A computer has 32 -bit instructions and 12 -bit addresses. Suppose there are 250 2address instructions. How many 1-address instructions can be formulated? Explain your answer.
The memory unit of a computer has $256 \mathrm{k}$ words of 32 -bits each. The computer has an instruction format with four fields: 1. An operation field 2. A mode field to specify one of 8 addressing modes 3. A Register address field to specify one of 120 processor registers. 4. A memory address. Then what is the number of bits in each field respectively if the instruction is in one memory word? (A) $4,3,7,18$ (B) $3,4,7,18$ (C) $2,1,6,23$ (D) $3,7,4,18$
Computer Organization and Architecture
Machine Instructions, Addressing Modes
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD