Post #3563184
2026-07-03 14:55 UTC
@techokami@woof.tech @neal@social.gompa.me First the manual: https://sourceware.org/binutils/docs/as/Macro.html, second "Mastering Gas" https://simplifycpp.org/books/Assembly/Mastering_GAS_A_Complete_Guide_to_the_GNU_Assembler.pdf (a whopping 534 pages). Good luck!
Replies (1)
-
@techokami@woof.tech 2026-07-03 18:41
@codonell@fosstodon.org @neal@social.gompa.me oh jesus what even is this syntax :blobfoxdeadinside: also I don't think it will like the use of a period at the start of local labels as it uses that specifically for pseudo-ops, sooo... yeah maybe GAS is too cursed (also if you want to see what AS MacroAssembler macros look like, https://github.com/sonicretro/s1disasm/blob/AS/Macros.asm is the main Macros definition file for the Sonic 1 disassembly)