| Author |
Message |
selpak
Joined: 05 Jan 2008 Posts: 30 Helped: 2
|
31 Mar 2008 11:02 A simple Question concerning code execution architecture |
|
|
|
I know there are levels of programming,
Like Visual Basic then Assembly then Machine language; Now as far as I know Machine language is a combination of 1s and 0s, or in other words ONs and OFFs; Hence that, why do we have to interpret Machine language into a more simple code such as ISA ( Intsruction Set Architecture ) then Microarchitecture, Isn`t OFFs and ONs language simple enough to be executed on digital circuits?
and I have an another question What is Microarchictecture in simple words? is it just like any language? like ISA, Assembly, Visual Basic? or is it more related to hardware that when you say the term "Microarchitecture" you mean a specific system or concept or something like that?
On the other hand, I have a question that have always confused me, and I wanted to know the answer since LONG time ago, The question is how is my name for example "Selpak", How is it represented as "electrons" on any storage device - lets say the hard disk of computers- ? {I`m not talking about bytes, I`m talk in terms of electrons, And I`m shooting to know how different data varies in terms of electrons to see how does it really work}
Thank you.
PS: I have to handle my research to my teacher tomorrow, so any help would be greatly appreciated.
Added after 1 hours 21 minutes:
Lets say I want to make a proccessor that when i put some code it turns the light on and when i put some other code it turns the light off.
what programming languages do I need at most at this case? and what "Materials" do I need - Considering i`m a scientist that is making a device!- ?
|
|
| Back to top |
|
 |
flanello
Joined: 09 Jan 2008 Posts: 64 Helped: 5
|
09 Apr 2008 15:09 Re: A simple Question concerning code execution architecture |
|
|
|
How a hard disk works:
http://www.usbyte.com/common/HDD.htm
Unfortunately I can't answer the other questions.
|
|
| Back to top |
|
 |
eelinker
Joined: 12 Feb 2006 Posts: 475 Helped: 12 Location: PERSIA
|
09 Apr 2008 16:53 A simple Question concerning code execution architecture |
|
|
|
| i have some answers but it seems it has no utility since the deadline of your research is reached.
|
|
| Back to top |
|
 |
selpak
Joined: 05 Jan 2008 Posts: 30 Helped: 2
|
01 May 2008 9:21 A simple Question concerning code execution architecture |
|
|
|
"i have some answers but it seems it has no utility since the deadline of your research is reached. "
its ok, please answer the questions now If u can do it, because I`d really like to know such info
|
|
| Back to top |
|
 |
jhbbunch
Joined: 21 Feb 2006 Posts: 210 Helped: 14
|
01 May 2008 22:41 A simple Question concerning code execution architecture |
|
|
|
| On simpler processors the instructions are executed strictly in hardware, just the flipping of switches. Once a processor gets more complicated you need micro-code working beneath the opcode instruction to do everything. That is why a Pentium processor can do 64 bit floating point math in something like 30 machine cycles even though the code takes over a thousand cycles to do that kind of a math operation. I believe someone has created a 32 bit ARM processor that does not use microcode, it does it strictly in hardware which would be quite an achievement.
|
|
| Back to top |
|
 |