marcobaye
aa51fde056
Added warning about unusual number of digits in binary literals,
...
and a CLI switch to disable that warning.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@257 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-22 20:32:38 +00:00
marcobaye
1261960cad
adjusted docs (added !WHILE, ELSE IF, etc)
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@251 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-21 19:06:12 +00:00
marcobaye
3039db71e6
made sure stuff like LDA#"X" keeps working in future version
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@249 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-21 16:19:05 +00:00
marcobaye
5b37c4d24e
cleanup (moved functions between files; no change in functionality!)
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@245 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-20 16:45:37 +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
c3e651f4ca
pseudo opcodes like !by, !wo, !tx and friends now accept lists
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@240 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-18 23:38:24 +00:00
marcobaye
f9a2f5f698
got rid of DEFINED flag by making UNDEFINED its own number type
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@235 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-16 22:44:54 +00:00
marcobaye
f64780a3bd
added typedef for "bits"
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@231 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-14 00:26:38 +00:00
marcobaye
2671eef384
added a bunch of "const"
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@230 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-13 23:18:51 +00:00
marcobaye
4643e841f9
symbol assignment refactoring seems to be finished now
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@228 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-13 23:11:10 +00:00
marcobaye
02a35ac468
more refactoring
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@216 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-05 09:51:10 +00:00
marcobaye
61d5144faa
removed unused vars
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@215 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-05 08:57:09 +00:00
marcobaye
00d0462f74
refactored symbol assignment (unfinished)
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@214 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-05 01:11:51 +00:00
marcobaye
72fc28e84c
comments only
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@213 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-04 14:31:15 +00:00
marcobaye
8a3bdb265f
added "--dialect" CLI switch to set which older version to mimic
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@207 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-31 20:55:38 +00:00
marcobaye
47b1fab4fe
more work to be able to mimic older versions
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@203 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-29 23:33:03 +00:00
marcobaye
af4a918f18
comments only
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@201 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-29 16:53:13 +00:00
marcobaye
5bcb80ac47
moved stuff around
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@200 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-29 14:30:03 +00:00
marcobaye
a6eae58032
internal cleanup for next change
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@193 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-27 17:32:48 +00:00
marcobaye
64a4b336b0
small change so associativity of powerof operator can be made configurable later on
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@189 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-24 20:19:19 +00:00
marcobaye
4eb3ffa149
"Garbage data at end of statement" message now includes the unexpected character.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@170 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-18 21:51:43 +00:00
marcobaye
38952534f4
cleanup concerning pc assignments
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@142 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-08 09:43:52 +00:00
marcobaye
4565070849
improved "Value not defined" output: Now all undefined symbols of expression
...
are reported, but never more than once.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@135 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-02 21:59:20 +00:00
marcobaye
e3e68af762
more cleanup
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@131 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-02 10:40:10 +00:00
marcobaye
7286e00855
typedef'd boolean to make source more readable. added "--test" option
...
(unused atm). no change in functionality.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@130 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-01 21:01:23 +00:00
marcobaye
0a4c13bb2e
internal cleanup, no change in functionality
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@127 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-04-28 11:18:22 +00:00
marcobaye
2ad798bef2
ACME release 0.96.5: Added "//" comments, added "--ignore-zeroes" and "--strict-segments" CLI switches.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@121 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-04-14 00:28:31 +00:00
marcobaye
7cb100c480
ACME release 0.96.3: Added "!hex" and "!skip" pseudoops. Added cheap locals.
...
Added CLI switch to change pseudoop prefix to '.'
Fixed a bug in expression parser and added a warning.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@94 4df02467-bbd4-4a76-a152-e7ce94205b78
2017-10-29 23:29:07 +00:00
marcobaye
47f09e9804
a bit of internal cleanup of names and comments, no change in functionality
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@92 4df02467-bbd4-4a76-a152-e7ce94205b78
2017-10-21 19:59:56 +00:00
marcobaye
a915eef8e9
ACME release 0.96.2: Error output now in color using ANSI escape codes. Thanks to Clifford Carnmo for submitting this patch!
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@86 4df02467-bbd4-4a76-a152-e7ce94205b78
2017-03-10 12:19:15 +00:00
marcobaye
294fe25c36
ACME Release 0.96: Added experimental support for instruction sets of Rockwell 65C02, WDC 65C02(S), CSG 65CE02 and CSG 4502.
...
Stack indexing can now be given either as ",s" or as ",sp" (only relevant for 65816 and 65CE02).
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@78 4df02467-bbd4-4a76-a152-e7ce94205b78
2016-12-28 20:32:00 +00:00
marcobaye
222f06c905
ACME Release 0.95.8: Errors in macros are now shown with call stack.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@75 4df02467-bbd4-4a76-a152-e7ce94205b78
2016-10-08 12:19:12 +00:00
marcobaye
a63007c0f9
internal cleanup (zone -> scope), no change in functionality
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@73 4df02467-bbd4-4a76-a152-e7ce94205b78
2016-08-05 09:59:07 +00:00
marcobaye
9dcb622b3d
Tweaked some CLI error messages and renamed some functions, no change in functionality.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@67 4df02467-bbd4-4a76-a152-e7ce94205b78
2016-02-21 12:58:22 +00:00
marcobaye
ba348db03e
Used #ifdef to make sure GNU-C-specific stuff only is used with GCC (so now it compiles with VS).
...
No change in functionality.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@64 4df02467-bbd4-4a76-a152-e7ce94205b78
2015-06-20 14:44:17 +00:00
marcobaye
4bcae073f9
refactoring - now all pseudo opcodes are back together in one file. no change in functionality.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@53 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-12-22 00:47:52 +00:00
marcobaye
2331709a35
yet more refactoring. no change in functionality
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@52 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-12-16 08:21:44 +00:00
marcobaye
de896f41f2
Refactoring only; no change in functionality.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@48 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-12-04 11:26:42 +00:00
marcobaye
c53505915d
Refactoring only; no change in functionality.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@47 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-12-03 22:18:06 +00:00
marcobaye
bff56ae803
Removed another silly two-entry keyword tree. Minor refactoring. No change in functionality.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@46 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-11-30 17:00:13 +00:00
marcobaye
653ce7549c
Changed comments and struct names; no change in functionality
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@42 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-11-24 14:52:05 +00:00
marcobaye
0e66c1fcb2
Release 0.95.3: Added support for C64DTV, MSVC error output and VICE label dump.
...
Added "c64dtv2" cpu type so you can use its SIR, SAC and BRA opcodes;
along with the undocumented ("illegal") opcodes of the 6510.
Added Martin Piper's "--msvc" patch so error output can be configured
to be in Visual Studio format. Thanks Martin!
Merged third-party patch of unknown origin to output label dump in VICE
format. Still needs work to be configurable about the types of
symbols actually output.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@41 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-11-23 23:40:01 +00:00
marcobaye
af1bd69455
Release 0.95.2: Changed "save labels" to "symbol list" in a lot of code, error messages and docs.
...
Added "!symbollist" alias for "!sl" pseudo opcode.
Change in undocumented ("illegal") opcodes: ANC #8 now generates 0x0b instead of 0x2b (both opcodes do the same thing).
Added experimental support for generating a report listing. Thanks to Johann Klasek for writing this extension patch.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@40 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-11-22 01:36:02 +00:00
marcobaye
808ccf39a3
Release 0.95.1: Tweaked type system and changed "label" to "symbol" in a lot of places.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@35 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-06-07 00:12:10 +00:00
marcobaye
d152f60acd
Release 0.95: Added experimental type checking system (still missing docs, however). Made warning about old "!for" syntax configurable.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@34 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-06-02 00:47:46 +00:00
marcobaye
6c59f05179
Release 0.94.10: Check for shift-space now works in UTF-8 as well. Docs contain list of built-in functions.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@31 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-05-17 09:40:55 +00:00
marcobaye
e1516161ce
more cleanup - moved some stuff between files
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@28 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-03-11 14:22:32 +00:00
marcobaye
538dd38861
added comments, cleaned up some struct and variable names - no change in functionality at all
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@27 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-03-11 12:07:11 +00:00
marcobaye
f1341c44fd
Release 0.94.8: Segment changes are now possible within pseudopc blocks.
...
Finally disabled obsolete pseudo opcodes "!cbm", "!subzone" and "!realpc".
!pseudopc now *must* be used with a block in {} braces.
Added support for illegal opcode LXA #$00 (opcode 0xba).
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@26 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-03-10 00:17:10 +00:00
marcobaye
059238874d
Release 0.94.5: Fixed bugs in wrap-around branches and left-shifting floats. Several changes in library.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@15 4df02467-bbd4-4a76-a152-e7ce94205b78
2013-06-26 23:01:00 +00:00