![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Aug 2005
Location: England
Posts: 37
Rep Power: 0
![]() |
Were does it come from
I have a question regarding the architecture of the chips
within the cpu from the way I understand it there are two section`s control and computational, i understand how all the functions are processed but one thing, I do not understand were the assembly language is coming from, is there some sort of assembly interpreter in the microstore in the control section to convert it to machine language? Im trying to map a basic cpu in mmlogic, just so i can understand the fundaments better, but cannot find a diagram of the gates involved of a basic chip? (i have some prototypes, but they have flaws) And how does assembly begin to create graphics?? (I have a very, very limited understanding at present) Thanx in advance for any replys Last edited by CodeJunkie; Dec 28th, 2005 at 12:02 PM. |
|
|
|
|
|
#2 |
|
Newbie
Join Date: Dec 2005
Posts: 6
Rep Power: 0
![]() |
hi there, i think your post is a bit confusing maybe because you are a bit confused too..
An assembly instruction is translated directly by the assembler into one machine instruction. This translation is really quite simple but is higly dependent of the target cpu. If you are looking for information on how to make this translation u have to get the techincal manual of the target cpu, but normally, the instruction in bits is seen by the cpu as a concatenation of values and normally the first few bits tell the cpu the type of instruction. For instance let's imagine the MOV instruction is coded to be like 10001, the cpu knows that all instructions beginning w/ 10001 are MOV instructions and the rest of the bits are used to represent the arguments. Of course, inside teh cpu there is a small module that has the task to look at the instruction and decode it to a lot of bits that will be used to control all sorts of things ( decoders, multiplexers, gates etc..) inside it to make the instruction happen. I'm not an expert in cpu design but i hope it helped. cya [] |
|
|
|
|
|
#3 | ||
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
Quote:
Quote:
|
||
|
|
|
|
|
#4 | |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4
![]() |
Quote:
|
|
|
|
|
|
|
#5 | ||
|
Programmer
Join Date: Aug 2005
Location: England
Posts: 37
Rep Power: 0
![]() |
Thanx everybody !!
Quote:
Quote:
|
||
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|