Upgrade to rgbds 0.4.0

- fail for rgbds < 0.4.0
- `rst <Label>`
- `ds <count>, <byte>`
- `shift <N>`
- ASCII "\r"
- Sorted .sym file
This commit is contained in:
Rangi
2020-04-04 14:42:31 -04:00
parent a325db0f14
commit 0ee9d7a48b
15 changed files with 42 additions and 71 deletions

View File

@@ -32,18 +32,14 @@ ENDM
dn: MACRO ; nybbles
rept _NARG / 2
db ((\1) << 4) | (\2)
shift
shift
shift 2
endr
ENDM
dc: MACRO ; "crumbs"
rept _NARG / 4
db ((\1) << 6) | ((\2) << 4) | ((\3) << 2) | (\4)
shift
shift
shift
shift
shift 4
endr
ENDM