0% found this document useful (0 votes)
4 views

Numerical Question

The document outlines the specifications for a computer architecture with an 8-bit word size, 32 registers, and a 16-instruction set. It details the size of various components, including the accumulator, temporary register, input/output, program counter, address, and instruction register. The instruction size is calculated to be 17 bits, requiring 3 words for representation in the instruction register.

Uploaded by

Ha Yanga
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Numerical Question

The document outlines the specifications for a computer architecture with an 8-bit word size, 32 registers, and a 16-instruction set. It details the size of various components, including the accumulator, temporary register, input/output, program counter, address, and instruction register. The instruction size is calculated to be 17 bits, requiring 3 words for representation in the instruction register.

Uploaded by

Ha Yanga
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

M = 27 X 8 ( word size 8 bit)

32 Registers

16 Instruction Set

Instruction => [ opcode , R1 , R2 , Immediate Value of 3 bit]

Ans

1. Accumulator => Word Size = 8 bit


2. Temp Register => 8 bit
3. Input => normally 8bit
4. Output => normally 8bit
5. Program Counter => same as address register => 7 bit
6. Address => 7bits
7. Data => 8 bit
8. Instruction Register
32 Registers => 5 bits
16 Instruction Set => 4 bits
Instruction => [ opcode , R1 , R2 , Immediate Value of 3 bit]

Total size = opcode ( 4 bit ) + R1 ( 5 bit ) + R2 ( 5 bit) + 3 bit

= 17 bit

Q. How many words it will take to represent A instruction


Register
= Instruction size / word size
= 17 / 8 => 2.15
Either use the whole word or not use use it.
So Instruction Register will take 3 words to be represented

You might also like