0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-11-06 06:15:05 +00:00
Commit graph

38 commits

Author SHA1 Message Date
Andrew Alderwick
ca6d755bd6 (asma) Remove tail call optimisation. 2022-10-19 12:28:31 +01:00
Andrew Alderwick
dd21ae5de8 (asma) Remove deprecated rawchr support. 2022-10-19 12:24:44 +01:00
Devine Lu Linvega
85ae1f6ebe Fixed CI 2022-08-15 09:28:02 -07:00
Devine Lu Linvega
f348d24606 Removing rawchr run 2022-08-14 12:06:23 -07:00
Andrew Alderwick
cabccd61fc (asma) only ignore [ or ] if it is a whole token 2022-06-09 21:42:30 +01:00
Andrew Alderwick
0b134ff6b8 (asma) Minor optimisations 2022-06-08 00:53:14 +01:00
Andrew Alderwick
02696fa437 (asma) Optimise advancing asma/addr 2022-06-08 00:38:55 +01:00
Andrew Alderwick
9ae2c0b788 (asma) Add tail call optimisation, bringing it up-to-date with uxnasm 2022-06-08 00:10:24 +01:00
Andrew Alderwick
d5253086b5 Move stack opcodes. 2022-04-18 09:45:33 +01:00
Andrew Alderwick
b1bbfb3976 (asma) Fix sublabel references when no labels are defined.
An example of code that failed with asma is in brainfuck.tal.
2022-02-18 09:27:58 +00:00
Andrew Alderwick
23a514b3ba Support nested comments in asma too. 2021-12-29 11:59:37 +00:00
Andrew Alderwick
86674da93e Bring etc/asma.moon up to date. 2021-12-29 11:59:37 +00:00
Andrew Alderwick
113220b10d Deprecate file-read-chunks by incorporating it inside asma. 2021-12-01 22:01:36 +00:00
Andrew Alderwick
6ba2af5c62 Avoid combining literals across | or $ pads. 2021-11-28 18:07:22 +00:00
Andrew Alderwick
9415c4e04a (asma) Correct relative offsets 2021-11-28 18:07:22 +00:00
Andrew Alderwick
1f5086a260 (asma) Combine byte literals 2021-11-28 01:30:26 +00:00
Andrew Alderwick
cb30ac7c11 Remove flag constants in asma. 2021-11-22 07:05:07 +00:00
Andrew Alderwick
c3ac41c41d Change "include" word into ~ rune for includes. 2021-11-17 22:06:00 +00:00
Andrew Alderwick
054361cb70 Replace load/save with read/write 2021-11-07 19:10:38 +00:00
Andrew Alderwick
dc3170db98 Implement File/append flag. 2021-11-05 22:48:04 +00:00
Andrew Alderwick
c970e2c5ef File device: drop offset shorts, add stat and delete. 2021-11-05 21:32:45 +00:00
Andrew Alderwick
fe22b6288e asma fix: disallow 1 and 3 chars in hex literals and raw hex 2021-11-03 19:38:18 +00:00
Andrew Alderwick
d5f3bc376e Raise errors on hex literals with zero length 2021-10-30 07:48:41 +01:00
Andrew Alderwick
80b4e4f88d Use Keep mode for all LIT opcodes 2021-10-30 00:28:33 +01:00
Andrew Alderwick
035e0d8a3a Fixed error message when zero-page label is not found 2021-10-28 23:12:49 +01:00
Andrew Alderwick
a09c4fb841 Added error message when label is redefined 2021-10-20 17:36:08 +01:00
Andrew Alderwick
511aa3c5a9 Improved error message for unrecognised token 2021-10-20 17:35:41 +01:00
Andrew Alderwick
0476a5c167 Fixed routine comment. 2021-10-20 17:35:06 +01:00
Andrew Alderwick
4f12079cf4 Stopped incorrectly recognising hex strings longer than four chars 2021-10-20 17:32:32 +01:00
Andrew Alderwick
26b90ac69c Added detection of recursive include errors. 2021-10-07 23:26:39 +01:00
Andrew Alderwick
3967d27173 Added file name to asma error printout. 2021-10-07 22:58:50 +01:00
Andrew Alderwick
5aca7e5070 Removed unused variable. 2021-10-07 22:44:36 +01:00
Andrew Alderwick
b78d9e1446 Reimplemented software/asma with reading input filename from Console. 2021-10-07 22:00:54 +01:00
Andrew Alderwick
d34ec6584c Added option to write ROM to stdout (when dest-filename is null). 2021-10-07 21:59:49 +01:00
Andrew Alderwick
8a74c3455d Keep track of total lines assembled. 2021-10-07 21:58:54 +01:00
Andrew Alderwick
ac2d30cdb9 Redirected asma messages to stderr. 2021-10-07 21:57:54 +01:00
Andrew Alderwick
0f9b03e0cb Skipped reporting of device label values. 2021-10-07 21:18:25 +01:00
Andrew Alderwick
4d6fc06778 Splitted asma into library and piano demo. 2021-10-07 21:11:47 +01:00
Renamed from projects/software/asma.tal (Browse further)