Commit Graph

204 Commits

Author SHA1 Message Date
marcobaye
20e04e22bc fix for previous commit: do not complain about () inside []
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@154 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-11 12:42:47 +00:00
marcobaye
4c938480fc added warning about parentheses for mnemonics without indirect addressing. currently needs "--test", will be enabled in next release.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@153 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-11 11:13:06 +00:00
marcobaye
abdea30e33 fixed behaviour of NOT operator concerning type checking: address refs are now negated.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@152 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-10 22:01:04 +00:00
marcobaye
e908284773 refactored handler function for "float with dyadic operator"
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@151 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-10 21:35:50 +00:00
marcobaye
f7c52d747c split handler function for dyadic operators into int and float functions. refactored int, still need to do float.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@150 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-10 12:33:41 +00:00
marcobaye
75bd395f2f more renaming
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@149 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-09 23:16:27 +00:00
marcobaye
440dc697ad split handler function for monadic operators into int and float functions
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@148 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-09 23:01:51 +00:00
marcobaye
4cad44f3ec renamed a bunch of stuff
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@147 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-09 20:58:08 +00:00
marcobaye
2b1c9d06bd refactored expression parser (more to come)
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@146 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-09 19:26:40 +00:00
marcobaye
55f303c05e minor refactoring
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@145 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-08 17:42:10 +00:00
marcobaye
c1f62fdef5 step 3 to fix ALU_* calls
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@144 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-08 13:22:15 +00:00
marcobaye
4b81e40c63 minor cleanup
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@143 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-08 12:22:07 +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
7d4200faa4 step 2 to fix ALU_* calls
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@141 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-08 00:34:46 +00:00
marcobaye
60603c7350 step 1 to fix ALU_* calls
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@140 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-07 23:32:06 +00:00
marcobaye
a4943e1f40 more cleanup
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@139 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-06 12:27:32 +00:00
marcobaye
bc0efebb3e cleanup
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@138 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-06 11:40:06 +00:00
marcobaye
2c104118eb now "--test" enables "!while {}"
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@137 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-06 10:00:32 +00:00
marcobaye
5c459cad56 added "!while" pseudo opcode (will be enabled in next release)
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@136 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-05 22:56:11 +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
ef3cbbe340 fixed float macros in library to make sure they work with future versions of ACME
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@134 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-02 15:38:02 +00:00
marcobaye
d1ac849272 still more cleanup
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@133 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-02 14:58:17 +00:00
marcobaye
54defa1add cleanup
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@132 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-02 11:28:15 +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
bf074b830d just added comments for future cleanup
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@129 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-04-30 16:34:09 +00:00
marcobaye
669f95c238 renamed a bunch of stuff, no change in functionality
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@128 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-04-28 16:02:09 +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
c4a88fa738 internal cleanup: instead of "value exists" flag, there is now a "expression is empty" field
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@126 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-04-26 22:26:05 +00:00
marcobaye
68b4409b1c internal cleanup: moved "indirect" flag from result to expression struct
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@125 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-04-26 20:14:39 +00:00
marcobaye
41f9534b99 more internal cleanup
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@124 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-04-26 18:53:14 +00:00
marcobaye
a4afd81f42 some internal cleanup concerning empty expressions
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@123 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-04-26 16:24:34 +00:00
marcobaye
c6f443d581 minor fix for output of segment list. no other change in functionality, only
internal cleanup (added some comments and TODOs)


git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@122 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-04-25 10:20:52 +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
63d26a9c82 ACME_Lib: various minor edits
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@120 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-02-28 20:40:18 +00:00
hoeppie
f22907849c Add win32 ico and properties
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@119 4df02467-bbd4-4a76-a152-e7ce94205b78
2019-12-23 01:36:24 +00:00
hoeppie
06e2612a5b Update creating (c) year in win32 file, depends now on version.h
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@118 4df02467-bbd4-4a76-a152-e7ce94205b78
2019-12-23 00:28:25 +00:00
marcobaye
07a7a00b1a ACME_Lib: reformatted ted.a and add 264/petscii.a
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@117 4df02467-bbd4-4a76-a152-e7ce94205b78
2019-08-05 23:39:15 +00:00
marcobaye
c68cefcab0 ACME_Lib: minor tweaks
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@116 4df02467-bbd4-4a76-a152-e7ce94205b78
2019-07-29 14:24:33 +00:00
marcobaye
a57a7b6c68 ACME_Lib: added a directory for the 264 series
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@115 4df02467-bbd4-4a76-a152-e7ce94205b78
2019-07-28 23:33:43 +00:00
marcobaye
81f2d3f683 ACME_Lib: a bit more info on CIAs and VIC
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@114 4df02467-bbd4-4a76-a152-e7ce94205b78
2019-07-28 22:16:51 +00:00
marcobaye
8fc1d4c738 updated toacme: v0.15 new removes leading '+' signs when converting
sources from "Professional Assembler".


git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@113 4df02467-bbd4-4a76-a152-e7ce94205b78
2019-04-25 20:26:10 +00:00
marcobaye
e1744c0008 added #define to allow to make segments warnings into errors (no change in
functionality)


git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@112 4df02467-bbd4-4a76-a152-e7ce94205b78
2019-04-20 21:12:05 +00:00
marcobaye
238eb5d626 tiny comment in lib
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@111 4df02467-bbd4-4a76-a152-e7ce94205b78
2019-04-09 08:09:20 +00:00
marcobaye
cefa89c138 added 65ce02 and 4502 opcode tables to docs
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@110 4df02467-bbd4-4a76-a152-e7ce94205b78
2019-03-19 00:37:46 +00:00
marcobaye
c4487b9239 added r65c02 and w65c02 opcode tables to docs
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@109 4df02467-bbd4-4a76-a152-e7ce94205b78
2019-03-18 22:24:47 +00:00
marcobaye
c262cbe7b4 added 65816 opcode table to docs
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@108 4df02467-bbd4-4a76-a152-e7ce94205b78
2019-03-18 21:56:19 +00:00
marcobaye
6604877b54 added 65c02 opcode table to docs
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@107 4df02467-bbd4-4a76-a152-e7ce94205b78
2019-03-18 21:26:38 +00:00
marcobaye
aa611df8b7 added 6502 opcode table to docs
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@106 4df02467-bbd4-4a76-a152-e7ce94205b78
2019-03-18 21:13:41 +00:00
marcobaye
75d52177cc fixed typo
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@105 4df02467-bbd4-4a76-a152-e7ce94205b78
2019-02-01 11:28:39 +00:00