pcmattman wrote:
I use the GNU assembler that came from my cross-compiler (rewrote the entire assembly part of Bran's tutorial in GAS syntax) so I'm always sure that it's the correct version, and it's always compatible with the other object files.
NASM is still ok though.
I have used NASM up to this point because the tutorials all seem to be written in Intel syntax. I've been trying to get up to speed on AT&T syntax, but trying to learn both OS and gas was taxing my brain. I think that when I finish the last bits of the tutorial (learn IDT, IRQ, PIC, timer), I'll try attempting rewriting the asm bits in gas. That actually sounds like a fun thing to do. (Stay tuned for
those posts!
I've been having a go at re-writing the C portions from the very beginning, taking advantage of typedefs and #define macros, etc. My C is a lot stronger than asm, though.
***
I'm still so tickled that the darn thing works now!