Computer ForumsComputers  

Go Back   Computer Forums > Programmers Lounge > Programming Discussions

Reply
 
LinkBack Thread Tools Display Modes
Old 01-19-2006, 03:37 AM   #1 (permalink)
Super Techie
 
Join Date: Dec 2005
Posts: 313
Default Program A Microproccesor

Hey i was doing some reading about microproccesors and i was wondering if i was able to get a microproccesor and be able to plug it into my comp and be able to program it.
Cheers
__________________
\"Signature\"

DynaSig: Dynamic Forum Signature
Crusader is offline   Reply With Quote
Old 01-19-2006, 01:47 PM   #2 (permalink)
Dope Tech
 
Join Date: Jan 2004
Posts: 3,662
Send a message via ICQ to office politics Send a message via AIM to office politics Send a message via Yahoo to office politics
Default

what microprocessor do you want to use?

i completed a college course on microprocessors where we wrote machine code to make different uses of the proc. Prerequisites for the course was AC/DC circuitry, digital electronics I & II.
__________________
Tech IMO.com | ExtremeTech.com | ASP Free.com | SysOpt.com | Tech Support Guy.org
DB Forums.com | Cyber Tech Help.com | Lazy Forums.com | Warrior Nation.net

'If you don't stand for somethin you'll fall for anything' - Dr. Dre Been there, done that
office politics is offline   Reply With Quote
Old 01-19-2006, 04:30 PM   #3 (permalink)
Super Techie
 
Join Date: Dec 2005
Posts: 313
Default

Well what i mean is how do you get the info(source code) off ur comp on to the microproccesor. Can u get a plug to link them? Because i have a machince code on disk for a microproccesor but how can i get the code on without haveing to pay a proffesional to do it.
__________________
\"Signature\"

DynaSig: Dynamic Forum Signature
Crusader is offline   Reply With Quote
Old 01-19-2006, 06:26 PM   #4 (permalink)
Dope Tech
 
Join Date: Jan 2004
Posts: 3,662
Send a message via ICQ to office politics Send a message via AIM to office politics Send a message via Yahoo to office politics
Default

which microprocessor?
__________________
Tech IMO.com | ExtremeTech.com | ASP Free.com | SysOpt.com | Tech Support Guy.org
DB Forums.com | Cyber Tech Help.com | Lazy Forums.com | Warrior Nation.net

'If you don't stand for somethin you'll fall for anything' - Dr. Dre Been there, done that
office politics is offline   Reply With Quote
Old 01-19-2006, 08:04 PM   #5 (permalink)
Super Techie
 
Join Date: Dec 2005
Posts: 313
Default

It would be a PCI microproccesor but is it possible to do with any microproccesor.
Cheers
__________________
\"Signature\"

DynaSig: Dynamic Forum Signature
Crusader is offline   Reply With Quote
Old 01-19-2006, 08:12 PM   #6 (permalink)
Ultra Techie
 
Join Date: Jul 2005
Posts: 530
Send a message via AIM to TheHeadFL
Default

No offense... but I'm not really sure you fully understand what you're asking for here...

With that said, you can play with designing microprocessors with languages like VHDL and Verilog.

I have designed and simulated a 5-stage Pipelined MIPS processor in Verilog for a class before. You can run basic assembly or C code on it.

You can get a simulator like VCS or any of a number of others.
__________________
Desktop machine: 2 x Opteron 246, Asus K8N-DL, 2GB PC3200 ECC Reg., XFX GeForce 6600GT, 74gb WD Raptor, 2 x 19\" LCDs, Windows XP x64
Server machine: Intel P4 3.0GHz 2MB EM64T, ECS i865pe, 1GB PC3200, 36gb WD Raptor, Windows Server 2003
Laptop: Dell Inspiron 9100 (Intel P4 3.2GHz 1MB Prescott, i865pe, 512MB PC3200, Mobility Radeon 9700, DVD+R/DL Burner), Windows XP
Linux: P3 450Mhz, 386MB ram, Slackware 10.1 (Running mySQL/Apache)
TheHeadFL is offline   Reply With Quote
Old 01-19-2006, 08:22 PM   #7 (permalink)
Super Techie
 
Join Date: Dec 2005
Posts: 313
Default Re: Program A Microproccesor

Quote:
Originally posted by Crusader
Hey i was doing some reading about microproccesors and i was wondering if i was able to get a microproccesor and be able to plug it into my comp and be able to program it.
Cheers
Lol yea ur right i dont know what im really talking about but like i said i was "reading" and i "wondered". And the thing is i already have the machince code of a website. Im not actually going to carry out the project. But i was wondering the how the process of having a machine code and actually getting it on to the microproccesor works and if its possible to get a plug that goes from the proccesor into the computer. Or can you put it on to a mobo or something.
Cheers
__________________
\"Signature\"

DynaSig: Dynamic Forum Signature
Crusader is offline   Reply With Quote
Old 01-19-2006, 08:39 PM   #8 (permalink)
Ultra Techie
 
Join Date: Jul 2005
Posts: 530
Send a message via AIM to TheHeadFL
Default

What do you mean by "machine code" and "getting it onto the microprocessor"?

Microprocessors aren't like flash memory, they aren't (generally) programmable. They are made that way by a machine and are not changeable.

Also, generally the "code" (if any) behind a microprocessor is some kind of hardware synthesis language like VHDL or Verilog like I mentioned above. Are you referring to these, or are you referring to assembly language? Assembly language is closest to the general description of "machine language" when you hear it mentioned.
__________________
Desktop machine: 2 x Opteron 246, Asus K8N-DL, 2GB PC3200 ECC Reg., XFX GeForce 6600GT, 74gb WD Raptor, 2 x 19\" LCDs, Windows XP x64
Server machine: Intel P4 3.0GHz 2MB EM64T, ECS i865pe, 1GB PC3200, 36gb WD Raptor, Windows Server 2003
Laptop: Dell Inspiron 9100 (Intel P4 3.2GHz 1MB Prescott, i865pe, 512MB PC3200, Mobility Radeon 9700, DVD+R/DL Burner), Windows XP
Linux: P3 450Mhz, 386MB ram, Slackware 10.1 (Running mySQL/Apache)
TheHeadFL is offline   Reply With Quote
Old 01-19-2006, 10:16 PM   #9 (permalink)
Super Techie
 
Join Date: Dec 2005
Posts: 313
Default

http://www.bobblick.com/techref/proj...propclock.html
Here is the project, i just assumed that the microproccesor was able to be customly programed not just factory settings. I have no exp with microproccesors i was just wondering and btw im not going to attempt to try do this either.
__________________
\"Signature\"

DynaSig: Dynamic Forum Signature
Crusader is offline   Reply With Quote
Old 01-19-2006, 10:25 PM   #10 (permalink)
Ultra Techie
 
Join Date: Jul 2005
Posts: 530
Send a message via AIM to TheHeadFL
Default

OK that is most likely what is called a "PLA" (Programmable Logic Array) which you need to buy specifically, and you also need a machine that would allow you to 'burn' it.

You would probably be able to simulate this kind of design in a program like Logic Works (google this) and play with it. Depending on how low level you want to get, you can write it in a synthesis language like Verilog (some programs can burn verilog to prototyping chips) or you can actually work out the logic at the gate/mux level itself.

I would guess that if you had a PLA to store the writing to display (7 x 30 or whatever it specified) and then a multiplexer and a clock to select the appropriate line from the PLA to activate the LEDs which would be switched by AND gates connected to the outputs of the multiplexer and PLA.
__________________
Desktop machine: 2 x Opteron 246, Asus K8N-DL, 2GB PC3200 ECC Reg., XFX GeForce 6600GT, 74gb WD Raptor, 2 x 19\" LCDs, Windows XP x64
Server machine: Intel P4 3.0GHz 2MB EM64T, ECS i865pe, 1GB PC3200, 36gb WD Raptor, Windows Server 2003
Laptop: Dell Inspiron 9100 (Intel P4 3.2GHz 1MB Prescott, i865pe, 512MB PC3200, Mobility Radeon 9700, DVD+R/DL Burner), Windows XP
Linux: P3 450Mhz, 386MB ram, Slackware 10.1 (Running mySQL/Apache)
TheHeadFL is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:00 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0