88Views3Replies

Author Options:

processor ? Answered

hello
I need someone to check my work
I want to know reason that I have explained in my post is right or wrong ?

Q1. If data is 4 bit ,which alu you should have to use
A . 2 bit ALU
B . 4 bit ALU
C 6 bit ALU
D 8 bit ALU
my answer . (B) 4 bit alu
reason : data is 4 so I used 4 bit alu . 4 bit alu deal with 4 bit number like 0001+1010

Q2. If data is 8 bit,which data memory you should have to use ?
A. data memory 8 x 256
B. data memory 4x16
my answer .A data memory 8 x 256
reason : If data is 8 bit , ALU is 8 bit so data memory should be 8 x 256

Q3.If instruction is 4 bit ,which program memory you should have to use ?
A. program memory should be 4x16 bit
B. program memory should be 8x256 bit
C program memory should be 6x64 bit
my answer A . program memory should be 4x16 bit
reason : Instruction are 4 bits so program memory should be 4x16 bit

Q 4. If we have 4 to 16 Instruction decoder , how many instruction it can decode ?
A. 8 instruction
B. 16 instruction
C. 256 instruction
my answer (B) 16 instruction
reason : 4 control word can decode 16 instruction


Q5. Why Program counter is 4 bit ?
A. 4 bit program counter can address 16 instructions
B 8 bit program counter can address 256 instructions
C.16bit 4 bit program counter can address around 6500 instructions
my answer. A
because 4 bit program counter can address 16 instructions

please checkout my work ?

Discussions

0
None
iceng

Best Answer 4 years ago

Why does an 8 bit Microchip PIC16 use a 14 bit wide instruction

but only 35 instructions ?

Why does an 8 bit Microchip PIC16 use a 14-bit 14KB program memory ?

Why does an 8 bit Microchip PIC16 use only 368 bytes of data memory ?

Why does an 8 bit Microchip PIC16 provide an interrupt and a 10 bit ADC ?

Why does an 8 bit Microchip PIC16 provide an OP-AMP, UART, SPI & I²C ?

Why does an 8 bit Microchip PIC16 provide an 8 Level deep hardware stack ?

How can the above 8-64 pin 8 bit ALU running at 35 MIPS make a desirable uP ?

8bit_overview_graphic.png
0
None
vead

4 years ago



I just wanted to confirm that specification that in post #1 is right or wrong ?



Instruction is 4 bit

16 instructions

Data is 8 bit

ALU is 8 bit

Program memory is 4x16 bit

Data memory is 8 x 256 bit

4 to 16 Instruction decoder

Program counter 4 bit



Instruction register 4 bit

address register

general purpose register

accumulator A 8 bit

Data register R1 8 bit

Data register R2 8 bit

Data register R3 8 bit

Data register R4 8 bit

0
None
iceng

4 years ago

I am a check, therefore your work is really checked out.

0
None
mpilchfamily

4 years ago

So you want us to check your homework for you. LOL