marcobaye
134ba39638
small fix so "label" and "label=*" throw the same error if pc undefined
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@414 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-09-01 16:23:08 +00:00
marcobaye
f1a80756d1
fixed bug in anonymous backward labels
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@412 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-31 20:28:50 +00:00
marcobaye
158379ce9a
"symbol twice" error now outputs location of previous definition,
...
just as "macro twice" does.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@406 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-29 18:27:50 +00:00
marcobaye
be4580af53
finally removed the 64 KiB limit, the outbuffer size is now determined at
...
runtime. I added a hard limit of 64 MiB, but that value is completely
arbitrary.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@402 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-27 18:54:07 +00:00
marcobaye
df7f1bf06b
added "output pass", to ease adding of new features.
...
I had to modify two regression tests because they barfed in the second pass,
but real-world code would not do this, so I'm okay with this incompatibility.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@400 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-18 22:49:35 +00:00
marcobaye
fc296d6abd
in future versions, program counter in pseudopc blocks no longer silently wraps around to zero
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@398 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-16 22:19:54 +00:00
marcobaye
8ac8d98cd0
more test files for symbol substitutions
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@395 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-13 10:49:56 +00:00
marcobaye
169541d452
changed experimental feature "dynamic symbol names" to "dynamic <ANYTHING>"
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@394 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-12 20:37:29 +00:00
marcobaye
fcfb32ed0a
added test files for symbol substitutions
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@393 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-11 21:07:32 +00:00
marcobaye
15aa8b3a3c
added another test file and did a bit of cleanup
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@371 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-24 16:07:20 +00:00
marcobaye
640373c54f
search paths (given via -I) are now also displayed in error messages.
...
also prepared filespecs to be relative to current file in next version.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@357 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-08 23:42:58 +00:00
marcobaye
a2103c167e
improved "macro twice" error output and did some cleanup...
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@355 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-03 23:35:21 +00:00
marcobaye
45bb65d74d
Un-pseudopc-operator '&' can now be applied to all address symbols, not only
...
to implicitly defined labels.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@354 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-03 14:31:08 +00:00
marcobaye
a69968dc05
fixed a bug in "unpseudopc" operator "&" and did some cleanup
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@351 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-01 01:12:15 +00:00
marcobaye
d70988c09d
added test files for "--dialect", a bit of cleanup
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@347 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-24 23:40:43 +00:00
marcobaye
09b4b16c10
fixed a bug and added more test files
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@346 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-24 14:09:01 +00:00
marcobaye
1b33ca7ae7
two more test files and a tiny bit of cleanup
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@345 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-23 16:46:40 +00:00
marcobaye
2e2eb5e60c
fixed bug where labels could be used before pc definition,
...
added test files.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@344 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-21 01:26:13 +00:00
marcobaye
58b04ba77c
more test files
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@342 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-18 13:50:32 +00:00
marcobaye
36653b8cf1
forgot test files
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@341 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-18 01:14:07 +00:00
marcobaye
7a4237eb3c
fixed two bugs, added test files, did cleanup
...
bug 1: in some cases "--format" could not override "!to"
bug 2: "cannot open output file" resulted in "success" exit code
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@340 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-18 01:11:33 +00:00
marcobaye
6c3ec454d3
more automatic testing
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@338 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-16 10:15:12 +00:00
marcobaye
5e365a8723
fixed a bug and added test files
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@337 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-16 01:06:48 +00:00
marcobaye
5b3557841e
added a few more tests and Makefiles to automate them
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@336 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-14 00:49:01 +00:00
marcobaye
550d1a3976
changed "=" to "==" in a test source
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@318 4df02467-bbd4-4a76-a152-e7ce94205b78
2021-01-31 22:02:00 +00:00
marcobaye
3bb7fce2f0
removed warning about C-style "==" comparison operator.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@317 4df02467-bbd4-4a76-a152-e7ce94205b78
2021-01-31 21:56:37 +00:00
marcobaye
2a004d8153
fixed bug found two commits ago
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@299 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-10-18 22:19:27 +00:00
marcobaye
b03b217979
disabled all indexed addressing for m65's "quad" mode, except for LDQ.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@287 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-07-29 23:30:33 +00:00
marcobaye
3db33bafb5
nmos6502 mode now also accepts ALR mnemonic (alias for ASR)
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@286 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-07-28 23:08:07 +00:00
marcobaye
26168e6752
small change in tests, improved 65816 register length checking
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@285 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-07-28 13:13:26 +00:00
marcobaye
2acece9c60
added test script
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@284 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-07-28 12:57:26 +00:00
marcobaye
6dd15f7116
added BITQ and ASRQ to m65 cpu.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@283 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-07-27 23:37:36 +00:00
marcobaye
f87ddbb5e6
added last cpu test source and expected output
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@282 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-07-27 22:58:10 +00:00
marcobaye
32d59eafa3
still more test sources and expected outputs
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@281 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-07-27 22:09:27 +00:00
marcobaye
a3d36ca156
more test sources and expected outputs
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@280 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-07-27 21:25:39 +00:00
marcobaye
78390cb632
added more test sources
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@279 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-07-27 19:47:07 +00:00
marcobaye
465da8c139
several small changes:
...
fixed a bug where "number out of range" error led to bogus "label already defined" errors
made "number out of range" errors more specific (8/16/24 bit range)
re-phrased two error messages
cleaned up docs concerning "command/opcode/mnemonic/instruction"
added test program to trigger "out of range" errors
internal cleanup concerning INW/DEW/JAM mnemonics
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@278 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-07-18 13:50:46 +00:00
marcobaye
ecca1552d0
added another test program
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@268 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-28 22:14:41 +00:00
marcobaye
be72f71faa
simplified state machine of expression parser
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@253 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-21 22:30:06 +00:00
marcobaye
beb875ff2b
refactored (added a union)
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@244 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-20 16:11:08 +00:00
marcobaye
562ce98f75
changing a list now needs !set
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@243 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-20 14:54:43 +00:00
marcobaye
64aa52da35
fixed operator priority bug (see test program added in svn rev 232)
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@238 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-17 00:37:19 +00:00
marcobaye
c2978f7e15
"unpseudopc" operator & now also works with program counter *
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@236 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-16 23:12:44 +00:00
marcobaye
430b225208
added failing test program, fix will follow realsoonnow(tm)
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@232 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-15 13:05:14 +00:00
marcobaye
1199c75025
more test programs
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@229 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-13 23:12:06 +00:00
marcobaye
ec2b7515ca
fixed bugs: trig functions did not clear FITS_BYTE flag, comparisons did not set it!
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@225 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-10 13:12:25 +00:00
marcobaye
7c82984075
added test source for expression parser
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@224 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-09 22:51:45 +00:00
marcobaye
da12925408
started checking in test sources
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@223 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-09 18:52:49 +00:00