neauoire
d15b2367f3
(uxnasm.c) Added comma after date
2023-08-08 16:39:33 -07:00
neauoire
c26de05efa
Added version to uxnasm
2023-08-08 16:35:35 -07:00
neauoire
2ddc20b1b6
(uxnasm) Generalized lambdas as common labels
2023-08-02 19:48:48 -07:00
Devine Lu Linvega
3a8cc42e0e
Better labels for lambdas
2023-07-29 16:24:39 -07:00
Devine Lu Linvega
32cc690539
(uxnasm) Lambdas support
2023-07-29 16:14:19 -07:00
Devine Lu Linvega
fe10cfecef
Improved usage standard message
2023-06-08 09:47:18 -07:00
Devine Lu Linvega
00ed056e51
(uxnasm) Added support for label sized pads
2023-04-04 20:02:33 -07:00
Devine Lu Linvega
ea0d81a9b1
(uxnasm) Fixed refs limit check
2023-03-01 11:46:44 -08:00
Devine Lu Linvega
85df5f2d36
(uxnasm) Fixed issue with makeref()
2023-02-28 21:47:45 -08:00
Devine Lu Linvega
e327373950
Increased refs limit
2023-01-21 18:24:11 -08:00
Devine Lu Linvega
cfeeb85712
Catch invalid sublabels
2023-01-14 15:08:40 -08:00
Devine Lu Linvega
ffb0a9c9bc
(uxnasm.c) Auto-start at 0x100
2023-01-13 10:14:20 -08:00
Devine Lu Linvega
a5442ea4fd
(uxn.c) Swapped JMI/JCI
2023-01-12 09:44:27 -08:00
Devine Lu Linvega
5e1c896554
(uxnasm) endian-agnostic handling of symbols file writing
2023-01-12 08:40:33 -08:00
Andrew Alderwick
f202944566
Make JMI, JCI and JSI relative.
2023-01-12 13:22:21 +00:00
Andrew Alderwick
7490666878
(uxnasm) Simplify handling of references.
2023-01-12 13:15:07 +00:00
Devine Lu Linvega
e0c2da0700
(uxnasm) Use correct address in symbol export
2023-01-11 21:01:56 -08:00
Devine Lu Linvega
a1bc00ce5f
(uxnasm) Fixed buffer overflow in tokenizer
2023-01-07 11:59:00 -08:00
Devine Lu Linvega
0e7137e016
(uxnasm) Experimental implementation of JM/JC/JS runes
2023-01-02 17:45:06 -08:00
Andrew Alderwick
c2b0667496
Update Copyright years.
2023-01-02 14:40:23 +00:00
Devine Lu Linvega
794ce1bdfd
Housekeeping
2023-01-01 13:40:58 -08:00
Sigrid Solveig Haflínudóttir
6317b5cf18
fix uxnasm: missing semicolon
2022-12-11 04:54:58 +01:00
neauoire
c97aa87faf
(uxnasm)Allow more space for symbols filename, and check for length
2022-12-10 11:07:45 -08:00
neauoire
2f3954d398
Uxnasm should use BE to store addresses
2022-12-09 12:52:34 -08:00
neauoire
d4c55e2f48
Uxnasm now outputs a symbols file
2022-12-09 12:30:04 -08:00
neauoire
f59b214ac1
Added _rune
2022-11-10 20:54:53 -08:00
neauoire
da5e581442
(uxnasm) Fixed issue with = rune
2022-11-09 16:40:07 -08:00
neauoire
261b574671
(uxnasm) Added support for = and - runes
2022-11-09 16:21:07 -08:00
Devine Lu Linvega
f348d24606
Removing rawchr run
2022-08-14 12:06:23 -07:00
Devine Lu Linvega
ef30fb8f8e
Removed JSR JMP2r tail-call optimisations for now
2022-08-06 11:05:16 -07:00
Andrew Alderwick
978713474a
(uxnasm) Prevent tail call optimisation when required, fixes asma
...
Literals do not get squashed across absolute or relative pads and
labels, now the tail call optimisations do not occur under the same
conditions. etc/asma-test.tal was identifying serious errors with
asma.rom, which uses "JSR2 &skip JMP2r" in @asma-macro-body.
2022-06-07 20:03:12 +01:00
Andrew Alderwick
0ff2a3586d
Deal with compiler warnings.
2022-06-07 19:39:43 +01:00
Devine Lu Linvega
0fafd652f1
(uxnasm) Better parent label reference counting
2022-06-06 09:42:26 -07:00
Devine Lu Linvega
bf81d07113
(uxnasm)Quiet label warnings with sublabels
2022-06-06 07:57:29 -07:00
phoebos
a014cd8da9
(uxnasm) only ignore [ or ] if it is a whole token
...
Currently, tokens beginning with a [ or ] character are completely
ignored, which forbids a macro from beginning with these characters.
Specifically, a macro can be declared eg. as `%[x { ... }` but cannot be
dereferenced as `[x`.
This patch only ignores these tokens if they have a length of 1;
otherwise the switch falls through to the default case.
2022-06-05 16:29:06 -07:00
Devine Lu Linvega
17fd40af43
(uxnasm) Minor cleanup
2022-05-31 14:04:54 -07:00
Devine Lu Linvega
18b73f4861
(uxnasm)Optimize tail-call for subroutines too
2022-05-31 13:55:00 -07:00
Devine Lu Linvega
3c06af41c3
Tiny change to uxnasm
2022-05-31 13:38:21 -07:00
Devine Lu Linvega
5a0e0c56aa
Added tail-call optimization
2022-05-26 20:26:21 -07:00
Andrew Alderwick
e00e74b9d0
(uxnasm) Raise an error if the output rom would be empty.
2022-05-09 21:13:28 +01:00
Andrew Alderwick
d5253086b5
Move stack opcodes.
2022-04-18 09:45:33 +01:00
Andrew Alderwick
c2ffe63cc3
(uxnasm) Fix valid macro names being rejected.
...
Macro names that begin with the name of an opcode were being rejected
incorrectly. “STA” would not be a valid macro name since it is an
opcode, but “STACK” should be fine.
2022-04-14 18:24:48 +01:00
neauoire
d49981c4ce
Removed runes
2022-04-11 17:27:33 -07:00
neauoire
a3c42c23b9
Fixed issue with oprunes
2022-04-11 17:16:05 -07:00
neauoire
dcc37fd0d5
Added logic/arithmetic symbols to uxnasm
2022-04-11 16:07:15 -07:00
neauoire
60315ff3dc
Raised label limit in uxnasm
2022-04-11 15:34:53 -07:00
Andrew Alderwick
0c819b9f59
clang-format
2022-02-19 01:02:47 +00:00
Andrew Alderwick
550aceee23
(uxnasm) Allow writing the 0xffff byte of RAM.
2022-02-19 00:29:40 +00:00
Andrew Alderwick
8b84813c6e
(uxnasm) Raise error when memory is overwritten.
2022-02-19 00:27:28 +00:00
Andrew Alderwick
da4f0e70a5
(uxnasm) Allow returning errors from writebyte().
2022-02-19 00:26:55 +00:00