#Tutorial #introduction to #ARM #asm using gas, directed toward #GameBoy Advance hacking. A bit rough-and-ready but only 22000 words. Covers add, ldr, ldmia, b, cmp, mov, lsl, lsr, asr, ror, sub, strh, bl, bx, conditions (-ne, -lt, and -ge), the -s suffix for setting flags, conditional instructions, the (even-bit-shifted) byte-sized immediate limitation, inline shifts, write-back (preincrement and postincrement) addressing mode, and Thumb, and finally the whole instruction set and a GBA optimization guide.
on 02023-07-01#Golang compiles to #wasm via "Tinygo", which can also target #embedded boards including the #Arduino Uno, the #ESP32, the Adafruit Feather M0, and the #Gameboy Advance.
on 02023-06-23