So I've been reading this document and I was wondering if someone could translate this ARM9 Assembly into the kind of ASM SNES uses (can someone tell me which kind of Assembly the SNES uses?). It's just an example, but I just want to know if it could be done in SNES similar to how it's done in NDS.
Code:
/*This Routine does the following... *loads a byte into r0 (not defined, just an example) *mov's #1 into r1 *compares that byte in r0 to 1 *stores r1 into r0 if r2 != 1 */ ldr r0,Address ldrb r2,[r0] mov r1,#0x1 cmp r2,#0x1 strne r1,[r0] bx lr


Comment