swapd0 Posted October 24, 2006 Report Share Posted October 24, 2006 Hi everybody, i've fixed the macro bug, and now you can write things like this: foo .macro size movei #$10000+\size,r0 ... foo .endm ... foo 256 ... argh! crap code Now macros works like in most assemblers (syntax replace), remember to put '\' before a macro parameter, and that labels into a macro must be declared as local. I hope that this is the last time that I fix it jas.zip Link to comment Share on other sites More sharing options...
GT Turbo Posted October 24, 2006 Report Share Posted October 24, 2006 I know one people who will like you, because he was born to write macro GT Edit : Nice avatar SwapD0 Link to comment Share on other sites More sharing options...
swapd0 Posted October 24, 2006 Author Report Share Posted October 24, 2006 Edit : Nice avatar SwapD0 From the good old days I had to edit the post, because I forgot to attach the file, anyway you can download from my webpage Link to comment Share on other sites More sharing options...
SebRmv Posted October 27, 2006 Report Share Posted October 27, 2006 Just one question: does jas produce object files compatible with ALN ? Link to comment Share on other sites More sharing options...
swapd0 Posted November 7, 2006 Author Report Share Posted November 7, 2006 Just one question: does jas produce object files compatible with ALN ? Sorry for being a bit late... For now, jas uses my own object file format, I've some docs about COFF?? or ALN?? object file format, but it's more complex. Now i'm a bit lazy but, I wanna code a linker to use with jas objects files to include a object file into a source file use .link directive like this -- main.s -- ... bsr xx ... op .link "op.o" // object processor routines ... -- this is in op.s -- .public xx // to export xx symbol .public yy Link to comment Share on other sites More sharing options...
SebRmv Posted November 9, 2006 Report Share Posted November 9, 2006 Sorry for being a bit late... For now, jas uses my own object file format, I've some docs about COFF?? or ALN?? object file format, but it's more complex. it would be really nice if your assembler could produce object files in the old BSD format (a.out) so that they can be linked with ALN Link to comment Share on other sites More sharing options...
swapd0 Posted November 9, 2006 Author Report Share Posted November 9, 2006 it would be really nice if your assembler could produce object files in the old BSD format (a.out) so that they can be linked with ALN Yes but, if I code the linker you won't need ALN any more. Actually I have a linker into jas so I need to take it out. Link to comment Share on other sites More sharing options...
SebRmv Posted November 9, 2006 Report Share Posted November 9, 2006 Yes but, if I code the linker you won't need ALN any more. Actually I have a linker into jas so I need to take it out. maybe not ok, let me discover a bit myself: I use ALN to link assembler files with C files (cross gcc generated, only 68k) so, if your linker is able to do this, perfect ! Link to comment Share on other sites More sharing options...
swapd0 Posted November 9, 2006 Author Report Share Posted November 9, 2006 maybe not ok, let me discover a bit myself: I use ALN to link assembler files with C files (cross gcc generated, only 68k) so, if your linker is able to do this, perfect ! well I think than I got old BSD format somewhere (thanks ray) maybe it's time to have a look... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now