Add ds cnt, byte syntax

As suggested by https://github.com/rednex/rgbds/issues/350#issuecomment-498030458
The order `count` then `byte` was decided after some discussion:
- First argument consistent with single-arg syntax
- Intuitive at least to some people other than myself
- Consistent with other assemblers, at least ca65
This commit is contained in:
ISSOtm
2020-02-23 22:43:50 +01:00
parent cfe21876e5
commit 4cc24f4369
11 changed files with 52 additions and 5 deletions

View File

@@ -884,6 +884,10 @@ ds : T_POP_DS uconst
{
out_Skip($2);
}
| T_POP_DS uconst comma reloc_8bit
{
out_RelBytes(&$4, $2);
}
;
db : T_POP_DB constlist_8bit_entry comma constlist_8bit {