asar
asar copied to clipboard
(Now) official repository of the SNES assembler Asar, originally created by Alcaro
(moved from #122) asar cli should 1) have the ability to use separate filenames for input and output rom, and 2) have the ability to ignore any existing rom file...
Still gives wrong answer for $4000000000000000\*3 == $4000000000000000\*3.0 (where former overflows to negative, but latter stays positive), but should fix db equal($5555555555555555, $5555555555555555+1) db equal($5555555555555555, $5555555555555555+1+511.0) to not return 00...
> !rb as2 struct aa $0000 .bb: skip 1 endstruct cc: dw datasize(aa.bb) this returns: `00 80` the king of walrii suggests it should go to end of struct (if...
``` [18:29:26] !rb as2 function test(b,a) = 42 - PEA test(-,+) : + [18:29:27] Errors occurred while assembling. :3: error: (Einvalid_number): Invalid number. in block: [- PEA test(-,+)] [18:29:49] !rb...
``` arch spc700 norom org 0 set $12.3+4 ``` `error: (Eunknown_command): Unknown command. [set $12.3+4]` However, a workaround exists: ``` arch spc700 norom org 0 !foo #= 3+4 set $12.!foo...
the default search path can be unintuitive; this would help debug cases where the place where asar looks is not what the user expected
``` !rb as2 data_bank = $808000 org data_bank db $00 segment pin=data_bank db $00 [12:54] jimblerbot999: Errors occurred while assembling. :7: error: (Esnes_address_doesnt_map_to_rom): SNES address 000000 doesn't map to ROM....