re: Re: A89: the a68k assembler and how it makes machine code


[Prev][Next][Index][Thread]

re: Re: A89: the a68k assembler and how it makes machine code




I don't really get that.  Where does it come up with the $4E75?  Is it an algorythm or does it 
have all the code in the program and it just pulls it out of its butt?  Thanks for responding!


> ** Original Subject: Re: A89: the a68k assembler and how it makes machine code
> ** Original Sender: Andrew Magness <AndrewM@ev1.net>
> ** Original Date: Mon, 08 Nov 1999 22:43:07 -0800

> ** Original Message follows... 

>
> It knows the hex equate of the code you assemble...
> 
> I.E.
> 
> the compiler knows that 
> 
> RTS = $4E75
> 
> so whenever the compiler comes to an rts in the code it replaces $4E75 for
> rts.
> and so on until all the code is assembled...
> 
> get it?
> 
> 
> 
> At 10:38 PM 11/8/99 -0600, you wrote:
> >
> >Ok, I'm not very new at assembly language (been programming for a year
> now), but I still 
> >don't understand how an assembler works.  How does it change all the code
> you put in to 
> >machine code.  In fact, how does it calculate all the hex code?  If
> someone could explain all 
> >this or just give me a website to visit, I would be greatly appreciative.
> Thanks!
> >Bryan
> >
> >
> >
> >Download NeoPlanet at http://www.neoplanet.com
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Bid and sell for free at http://auctions.yahoo.com
> >
> >
> >
> 


>** --------- End Original Message ----------- **

> 



Download NeoPlanet at http://www.neoplanet.com


__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com


Follow-Ups: