asar
asar copied to clipboard
(Now) official repository of the SNES assembler Asar, originally created by Alcaro
I've been doing it with custom functions but wanted to make another contribution to Asar. This PR adds a new builtin function called "rgb555" (sugestion), that you can easily convert...
Minor changes to add support for 16bit values made of two chars, eg.: `lda.w #'AS' : sta $00 : lda.w #'AR' : sta $02`
This patch adds the possibility to add an optional output name for the patched ROM: **asar patch.asm original.smc patched.smc** will copy original.smc to patched.smc before processing. If no output name...
i often write some code like this: ``` !i = 0 while !i < N ; do some stuff here using !i (possibly multiline) !i #= !i+1 endif ``` i...
warnpc is a pretty useful command but I noticed almost all of the times when I write a patch I not just have to ensure the code is not larger...
Modern programming languages often has the "using" or "import" statements to allow packages or namespace members to be used without referencing them explictly. Asar offers namespaces, but often they get...
I am writing some code that works with a lot of strings and the absence of some common string escapes has become inconvenient. Most notably missing: - macro arguments: `\
\ !rb as lda ($12,x) \ A1 12 \ !rb as lda ($1234,x) \ Errors occurred while assembling. \:2: error: (E5117): Unknown command. [lda ($1234,x)] \ !rb as arch spc700...
From the manual: > New features introduced into Asar since then might not throw warnings when attempted to use in xkas compatibility mode and old xkas patches might not assemble...
When I thought about an update for UberASM (the patch, not the tool) and add library support, I realised that it might be a good idea to have namespaces which...