1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-03 12:07:26 +00:00
Commit Graph

1380 Commits

Author SHA1 Message Date
jespergravgaard
8bbddf5651 Fixed problem with switch not working unless it is inside a loop. Closes #280 2019-08-21 17:33:11 +02:00
jespergravgaard
dd5c06b9f9 Added missing fragments. Closes #277 2019-08-21 17:18:16 +02:00
jespergravgaard
124f2b4d85 Added missing fragment. Closes #278 2019-08-21 16:51:18 +02:00
jespergravgaard
45c3ebf566 Made test pass. 2019-08-21 16:34:02 +02:00
jespergravgaard
8743921cd9 Added Typedef parser and test-case that illustrates the typedef ambiguity problem. #269 2019-08-21 10:13:15 +02:00
jespergravgaard
67a9880b94 Added example of Using function as error does not give an error - instead silently throws away the statement. #276 2019-08-21 07:06:11 +02:00
jespergravgaard
d42c7250af Fixed tests. 2019-08-20 00:26:04 +02:00
jespergravgaard
f4777a5876 Added interrupt type hardware_stack which uses the stack for saving the registers. Closes #256 2019-08-20 00:08:49 +02:00
jespergravgaard
733751dbe3 Added parenthesis to fragments when derefs are nested. Closes #270 2019-08-19 23:54:01 +02:00
jespergravgaard
e3427796d3 Added examples of 2 problems 2019-08-19 08:42:48 +02:00
jespergravgaard
0185370732 Fixed problem where code after return resulted in NPE. Closes #273 2019-08-18 23:44:01 +02:00
jespergravgaard
19c0637f1e Fixed relative labels in KickAss 5.9 #272
ASM  now uses literal encoded chars for better readability #245
2019-08-18 23:18:53 +02:00
jespergravgaard
21e4638857 Upgraded to KickAsm 5.9. Closes #272 2019-08-18 22:12:02 +02:00
jespergravgaard
65dffdbdea Added upport for continue inside switch statement. Closes #170 2019-08-18 21:55:21 +02:00
jespergravgaard
55b7dfdf91 Added a few fragments - and some tests illustrating certain problems. 2019-08-18 20:59:57 +02:00
jespergravgaard
3c12acbb43 Added support for \\ escape code. #241 2019-08-18 17:00:26 +02:00
jespergravgaard
577e0f6011 Implemented support for string and character escape codes \n \r \\ \" \'. Closes #241 2019-08-18 16:43:15 +02:00
jespergravgaard
f08812ab91 fixed test 2019-08-18 14:20:05 +02:00
jespergravgaard
ea70f7a6f4 Added some signed word fragments 2019-08-18 13:51:49 +02:00
jespergravgaard
f51cef9c34 Added more missing fragments. 2019-08-17 14:13:15 +02:00
jespergravgaard
fe745ec4ca Added another fragment 2019-08-17 14:07:25 +02:00
jespergravgaard
13f2f14b9d Added missing fragments for Paul Gardner-Stephens Unit 3.5 2019-08-17 13:51:07 +02:00
jespergravgaard
891a4c21c2 Improved Atari Tempest Example Code. 2019-08-16 22:28:37 +02:00
jespergravgaard
eaabba4ea2 Fixed toUpperCase() to use a specific locale. Closes #262 2019-08-16 21:00:29 +02:00
jespergravgaard
09d68e6931 Added missing fragments for rolling unsigned bytes. 2019-08-15 08:38:49 +02:00
jespergravgaard
ea9054a562 Added missing fragments for rolling unsigned words. Added test demonstrating Unroller problem. 2019-08-15 08:34:50 +02:00
jespergravgaard
8d7b0385cb Fixed type inference error message. Closes #260 2019-08-13 08:08:43 +02:00
jespergravgaard
c9a3f33773 Implemented switch()-statement - first simple test working. #170 2019-08-12 21:46:01 +02:00
jespergravgaard
46b88d8cf0 Added start of code for switch 2019-08-12 00:18:48 +02:00
jespergravgaard
88cc028285 Added example of cast error giving an exception. #260 2019-08-11 23:59:29 +02:00
jespergravgaard
c10d646a5d Added syntax for switch-statement. #170 2019-08-11 23:32:24 +02:00
jespergravgaard
1dd2f1ebe6 Improved basic-floats.kc 2019-08-11 01:16:56 +02:00
jespergravgaard
a4472e0778 Added .ld-files to assembly 2019-08-10 23:58:49 +02:00
jespergravgaard
a4fc6db4c2 Added missing fragments. Closes #251 2019-08-10 20:49:00 +02:00
jespergravgaard
ffa75b1732 Expanded "used" logic of inine ASM to include procedure refs. 2019-08-10 18:27:05 +02:00
jespergravgaard
074826fb1f Playing a little with XMega helloworld. 2019-08-10 16:48:47 +02:00
jespergravgaard
7484e27a32 Working helloworld for XMega65 Xemu. 2019-08-10 15:41:32 +02:00
jespergravgaard
c82234db19 Fixed problem with for() continue. 2019-08-10 15:07:51 +02:00
jespergravgaard
da56d74339 Merged IcePic/master fragments. Thanks to Janne Johansson. #248 2019-08-10 14:41:46 +02:00
jespergravgaard
741f424116 Merged IcePic/master fragments. Thanks to Janne Johansson. #248 2019-08-10 14:41:30 +02:00
jespergravgaard
65bf7be4d7 Added support for export directive on data variables ensuring they are always included in the output ASM even if not used. Closes #252 2019-08-10 09:02:35 +02:00
jespergravgaard
7b155ee4b0 Added support for register keyword without parameter for compatibility. Closes #229 2019-08-10 08:39:42 +02:00
jespergravgaard
5755616588 Changed syntax slightly 2019-08-10 08:21:58 +02:00
jespergravgaard
e53159699b Implemented Xmega65 SYSCALLS. 2019-08-10 00:22:57 +02:00
jespergravgaard
4430974f25 Implemented Xmega65 SYSCALLS. 2019-08-10 00:17:55 +02:00
jespergravgaard
d70fbe4c34 Implemented Xmega65 SYSCALLS. 2019-08-10 00:16:33 +02:00
jespergravgaard
dbb6ce5933 Added support for #pragma code_seg() and #pragma data_seg(). #113 2019-08-09 22:38:33 +02:00
Jesper Gravgaard
6b0ef4408c Added test data. 2019-08-09 17:50:02 +02:00
Jesper Gravgaard
558f166dd4 Implemented #pragma link() and -T for specifying custom linking script. #113 2019-08-09 17:07:11 +02:00
Jesper Gravgaard
313d45fd03 Improved target platform handling. 2019-08-09 16:11:28 +02:00