processor related question

Status
Not open for further replies.

Parth86

Member
hello experts

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


Q1.Why ALU is 8 bit ?
If data is 8 bit so ALU should be 8 bit
if data is 4 bit then alu should be 4 bit
if data is 6 bit then alu should be 6 bit
if data is 16 bit then alu should be 16 bit

Q2.Why Program memory is 4x16 bit ?
Instruction are 4 bits so program mmory should be 4x16 bit
Instruction are 8 bits so program mmory should be 8x256 bit
Instruction are 6 bits so program mmory should be 6x64 bit


Q3.Why Data memory is 8 x 256 bit ?
If data is 8 bit , ALU is 8 bit so data memory should be 8 x 256
if data is 4 bit data memory should be 4x16

Q4.Why 4 to 16 Instruction decoder
To decode for 16 operation I think I need 4 control word so I use 4 to 16 Instruction decoder
8 instruction need 3 to 8 decoder
32 instruction need 5 to 32 decoder


Q5. Why Program counter 4 bit ?
4 bit program counter can address 16 instructions
8 bit program counter can address 256 instructions
16bit 4 bit program counter can address around 6500 instructions

Q6.general purpose register ?
data is 8 bit so accumulator A should be 8 bit
data is 8 bit so Data register R1 should 8 bit
data is 8 bit soData register R2 should be 8 bit
data is 8 bit so Data register R3 should be 8 bit
data is 8 bit so Data register R4 should be 8 bit

Q7. Instruction register 4 bit?
instruction is 4 bit so Instruction register should be 4 bit
instruction is 8 bit so instruction register should be 8 bit

Q8 address is 4 bit ?
address is 4 bit so address register should be 4 bit
address is 8 bit so address register should be 4 bit
 
A lot of these questions are stupid.

Q1.Why ALU is 8 bit ?
If data is 8 bit so ALU should be 8 bit
if data is 4 bit then alu should be 4 bit
if data is 6 bit then alu should be 6 bit
if data is 16 bit then alu should be 16 bit

Do you count flags and carry?

Q2.Why Program memory is 4x16 bit ?
Instruction are 4 bits so program mmory should be 4x16 bit
Instruction are 8 bits so program mmory should be 8x256 bit
Instruction are 6 bits so program mmory should be 6x64 bit

Makes no sense.

Q3.Why Data memory is 8 x 256 bit ?
If data is 8 bit , ALU is 8 bit so data memory should be 8 x 256
if data is 4 bit data memory should be 4x16

Memory management messes this up completely unless your talking about absolute addressing.
Q4.Why 4 to 16 Instruction decoder
To decode for 16 operation I think I need 4 control word so I use 4 to 16 Instruction decoder
8 instruction need 3 to 8 decoder
32 instruction need 5 to 32 decoder

The answer could change based on RISC or CISC archetecture.

Q5. Why Program counter 4 bit ?
4 bit program counter can address 16 instructions
8 bit program counter can address 256 instructions
16bit 4 bit program counter can address around 6500 instructions

16 bit - 65,000 or 65536 actually. 16 bits -32768 to +32767 0 to 65535


What about multiplies?

Q7. Instruction register 4 bit?
instruction is 4 bit so Instruction register should be 4 bit
instruction is 8 bit so instruction register should be 8 bit

Not in a CISC architecture. Instructions can be MULTIPLE memory locations.

Q8 address is 4 bit ?
address is 4 bit so address register should be 4 bit
address is 8 bit so address register should be 4 bit

Memory management again.

I would chew these questions up if they were exam questions.
 
A lot of these questions are stupid.

I would chew these questions up if they were exam questions.
No thats question was created by me just for learning some basics
thats the point you are correct I did mistake in many place

I think I am missing lot
can you give me some home work like that questions ?
or
can you help me to improve that question ?
 
You're in SCHOOL DO YOUR F'N HOMEWORK !!
Yes I intended to yell... Don't give fish, teach how to fish.
This person wants to be fed a fish dinner..... Bad Dog, No Biscuit

If you want to flame me, bear in mind I'm a design engineer of 30+ yrs in business.
... oh and degrees in Business & Engineering from Michigan State.
To those OTHER than STUDENTS, I welcome your conference on topics of interest.
This is meant to be a two way consideration of benefit... true synergy... G.H. <<<)))
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…