Hullo Brian McCloud, hope you are having a nice day!!
18-Mar-98 04:49:00, Brian McCloud wrote to Fernando Ariel Gont
Subject: Problem to make a compile
BM> FAG>I want to make an ASM compiler for a microprocessor. I want to
BM> start with FAG>one for the 6809.
BM> Technically, that's a cross-assembler, not a compiler.
What is a "cross-assebler"? (I mean, what's the difference between a
cross-assembler and an assembler?)
BM> I don't currently have any such addresses, but I can look... My
BM> suggestion would be to keep a table of labels, which would include
BM> the name of the label, the actual address, and a list of places
BM> where it is referenced. Assemble the code portions, leaving the
BM> address part of any jump/call instructions 0 until the label has
BM> an actual address, then go back as a second pass and fill those in
BM> from the table.
Ok.
Thank you!
-=> Yours sincerely, Fernando Ariel Gont <=-
e-mail: FGont@siscor.bibnal.edu.ar
e-mail "Good Stuff!" _*Magazine*_ : gstuff@siscor.bibnal.edu.ar
FidoNet: 4:900/470.10
Sk-Network (Argentina): Murdock's Point (200:201/300.27)
--- Terminate 5.00 UnReg(160)
---------------
* Origin: My girl, my girl, where were you born?? (4:900/470.10)
|