This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
I apologize for asking this question here but I really need some insight how to write an assembler.I have defined my instruction set, registers and all.Now I want to wtrite an assembler that will take the assembly code written in my defined instructions and generate executables on any windows machine whatever be the underlying processor.Any guide is expected.
Thanks,
Arka
Tim Moores
Rancher
Joined: Sep 21, 2011
Posts: 2407
posted
0
You want to write this in Java?
If this was my project I'd try to use the infrastructure of the GNU Assembler. Then the task would be down to translating your assembler syntax to the GAS syntax.
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32654
4
posted
0
Is that possible? Won’t your registers differ from chip to chip, so your assembler will be coupled to the type of chip?
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.