Re: Microprogramming
Re: Microprogramming
- Subject: Re: Microprogramming
- From: Paul Russell <email@hidden>
- Date: Wed, 16 Feb 2005 11:35:46 +0000
On 16 Feb 2005, at 02:45, Thomas DeGregorio wrote:
Okay I did some looking into with the code you have supplied me with,
but what if it is not a generic PPC processor. How can I tell the
computer what the instruction sets are? That I just can;t seem to do.
Nor get a assembly program of my own to run.
With the code I have looked at I really saw no included compiler
directives that had anything to do with assembly. How does the
complier know how to compile the assembly language included. Also How
can I create a project with assembly?
I'm going to as well read apple's documentation on the assembly
compiler, but I does seem to be too informative, well with xcode at
least and with the adding of you own instruction sets.
Microprogramming assemblers and what not don't seem to be to
available on the Mac, is this because mircoprogramming is for CISC
chips and Apple uses RISC. I wanted to know about microcoding because
I thought it would be cool to add the computer from our text book's
instruction sets to a assembler on my computer. So I could write
programs and be precise instead of doing it by hand which is what we
do in class, but I can't run them, I can only compile. Assembly
program I would like to run.
First you need the right tools for the job. XCode is not the right
tool. It also helps to use the accepted terminology for what you are
trying to do (cross development) - it makes Google searches a lot more
fruitful.
To /assemble/ your code you need a _cross-assembler_ for the processor
that you are working with. This can either be a specific assembler, or
you can also find generic assemblers out which will let you define your
own instruction set etc.
To /run/ your code you either need some target hardware or a
_simulator_. There are a number of simulators out there for popular
processors or you could write your own.
Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden