On 09/24/2012 01:27 AM, Hugh Aguilar wrote:
Is there an x86 assembler available in Racket? If so, does it support the 64-bit x86?
There's Noel Welsh's IA32 assembler https://github.com/noelwelsh/assembler. I guess it doesn't support x86_64 yet.
I'm writing a program in HLA right now. HLA is limited to 32-bit x86 and I would prefer 64-bit, although I can stick with 32-bit if necessary.
I don't think there's anything directly analogous to HLA. Noel's work assembles straight to memory, rather than being an offline assembler. I suppose with a bit of work (ELF emitter) it could be used instead of gas.
Regards, Tony ____________________ Racket Users list: http://lists.racket-lang.org/users