Commit graph

1169 commits

Author SHA1 Message Date
ceriel d664b9fb0b Initial revision 1988-04-07 12:36:30 +00:00
ceriel 92255b2a25 Added libfp 1988-04-07 12:31:47 +00:00
ceriel 9a7b199a5c Initial revision 1988-04-07 12:28:10 +00:00
ceriel 41bf233413 Added libfp 1988-04-07 12:26:29 +00:00
ceriel 4e2aea5cb0 Initial revision 1988-04-07 12:23:02 +00:00
ceriel a614f3be7a Added ncg and libfp 1988-04-07 11:49:19 +00:00
ceriel 87a5000e57 Initial revision 1988-04-07 11:45:42 +00:00
ceriel 10b3d3d862 added floating point lib 1988-04-07 11:42:21 +00:00
ceriel 8ee3542787 Added copyright notices 1988-04-07 11:40:46 +00:00
ceriel 8a96f95c59 Initial revision 1988-04-07 10:57:49 +00:00
ceriel cb4e02f02e fixed 1988-04-06 18:36:59 +00:00
ceriel 4beb60683f Initial revision 1988-04-06 15:12:11 +00:00
ceriel 56b03adad0 z8000 uses asld, so suffix of targets is .s 1988-04-06 15:10:56 +00:00
ceriel da052fb6ee Initial revision 1988-04-06 14:49:41 +00:00
ceriel e25004012b Added an 'all' entry 1988-04-06 14:46:04 +00:00
ceriel 288c4c9a13 Added .distr file, added 'all' entry in Makefile 1988-04-06 14:42:22 +00:00
ceriel d48f810ef6 Added .distr file 1988-04-06 14:37:14 +00:00
ceriel 04cabf258d Initial revision 1988-04-06 14:24:36 +00:00
ceriel 50cf97a378 Initial revision 1988-04-06 14:13:41 +00:00
ceriel 0320f9c7ba Added an 'all' entry 1988-04-06 14:08:08 +00:00
ceriel f635588643 Initial revision 1988-04-06 14:03:28 +00:00
ceriel f687134a38 Added an 'all' entry 1988-04-06 13:56:46 +00:00
ceriel 4afb2f0b23 Initial revision 1988-04-06 13:46:40 +00:00
ceriel dc24ab8b57 Added an 'all' entry 1988-04-06 13:41:06 +00:00
ceriel dc547a271a added .distr file 1988-04-06 13:38:42 +00:00
ceriel 6211edb4c6 z8000 uses asld 1988-04-06 13:18:10 +00:00
ceriel ffff65a8d7 Initial revision 1988-04-06 13:17:21 +00:00
ceriel 6507aa0a73 Added .distr 1988-04-06 13:06:08 +00:00
ceriel e566fc551d some fixes 1988-03-31 17:58:56 +00:00
ceriel 92f28ae164 Added another debug statement 1988-03-31 12:50:12 +00:00
ceriel 14d7db7499 remove some of the lint complaints 1988-03-31 11:17:47 +00:00
ceriel 4e419a19cd delinted 1988-03-31 10:38:05 +00:00
ceriel 092292683c modified to use a different 'panic' strategy, and use
new clash-table in tables.c when possible, and some other tuning
1988-03-31 10:14:48 +00:00
ceriel 21f4403fdb Initial revision 1988-03-30 13:06:41 +00:00
ceriel 934568dcf4 new translation of BLS, fix in LOF 1988-03-23 16:07:03 +00:00
ceriel cb52407188 Added .distr file 1988-03-21 18:02:45 +00:00
ceriel 6a51fac1e4 Initial revision 1988-03-21 13:48:24 +00:00
ceriel fd467fd63d removed a cntrl-a character in the comments 1988-03-17 09:39:43 +00:00
ceriel 2c01d45a49 fix in csb: must be able to handle 0 cases 1988-03-17 09:24:01 +00:00
ceriel 0030ddd97f fixed csb so that it also handles 0 cases 1988-03-16 19:38:14 +00:00
ceriel 63a89b7080 modified to use PAREN_OPEN and PAREN_CLOSE 1988-03-14 16:15:23 +00:00
ceriel ea9e90d785 fixed for operand separators within operands 1988-03-14 15:58:07 +00:00
ceriel bf3cfae610 CMI was translated wrongly; corrected 1988-03-14 13:56:33 +00:00
ceriel 23be652f11 CMI was translated wrongly; corrected 1988-03-14 13:42:20 +00:00
ceriel eb6a4a95cd deleted some patterns that were wrong, and apparently never used 1988-03-14 13:30:48 +00:00
ceriel f846c1648b changed definition of BITMAX 1988-03-12 13:47:11 +00:00
ceriel a24c41e9cf fix in LXA 1988-03-11 16:34:22 +00:00
ceriel 9258a2a3e9 fixes from Nigel Hall 1988-03-10 16:00:58 +00:00
ceriel 1d98b5fd02 bug fix: did not work when procedure descriptors started on block boundary 1988-03-10 13:03:53 +00:00
ceriel 304f03a836 fixes from Nigel Hall 1988-03-09 18:07:05 +00:00
ceriel 75aba83724 some fixes 1988-03-07 11:44:39 +00:00
ceriel 653cd869ba deleted cvf.s 1988-03-07 09:47:06 +00:00
ceriel 14997fe479 "deleted -LIB, already in proto makefile" 1988-02-19 17:15:45 +00:00
ceriel 75986f7ac5 deleted -LIB, already in proto makefile 1988-02-19 17:05:26 +00:00
ceriel 41077644d1 fixed 1988-02-18 11:58:10 +00:00
ceriel fd08220e2b fixes 1988-02-18 11:17:39 +00:00
ceriel a298b55b95 sbu was replaced by sbu; is now replaced by sbi 1988-02-18 11:09:11 +00:00
ceriel 0058f45243 corrected 1988-02-18 10:36:22 +00:00
ceriel 25e21494f1 corrected 1988-02-18 10:22:15 +00:00
ceriel 3ccbd9cdc7 Initial revision 1988-02-18 10:22:14 +00:00
ceriel 083404fc90 corrected 1988-02-18 10:12:10 +00:00
ceriel bab801171f Initial revision 1988-02-18 10:08:42 +00:00
ceriel 02db417d31 Initial revision 1988-02-18 09:48:35 +00:00
ceriel 642acd5cbe Added .distr file 1988-02-18 09:32:26 +00:00
ceriel ccf7ef96b5 Initial revision 1988-02-18 09:20:09 +00:00
ceriel 31ed7f7e30 Added .distr file 1988-02-17 15:52:20 +00:00
ceriel e9271376dc Initial revision 1988-02-17 15:44:54 +00:00
ceriel 83d7633503 a minor improvement 1988-02-17 15:41:27 +00:00
ceriel 8fc22f0db7 allow assembler to read from STDIN 1988-02-05 15:10:08 +00:00
ceriel d4e2dcfb67 prevent some 'bombed out of codegen' crashes 1988-01-12 11:48:38 +00:00
ceriel 538896f0a3 improved some code for floating point 1988-01-11 17:06:11 +00:00
ceriel 85348f653d cas instruction was encoded wrong 1988-01-11 13:25:28 +00:00
ceriel 3f2a4d9c7c added .distr file 1987-12-02 14:01:26 +00:00
ceriel f8ede83073 deleted some incorrect patterns 1987-12-02 13:21:20 +00:00
ceriel 9cc60526b7 Added floating point stuff 1987-12-02 09:04:32 +00:00
ceriel e3501a00dc handle rounding of floating point constants 1987-11-25 16:58:31 +00:00
ceriel 048eac2d67 fixed to also read from standard input 1987-11-25 16:55:51 +00:00
ceriel f00951f788 replaced some move.w by move.l 1987-11-16 15:52:57 +00:00
ceriel c998623932 Some more adaptions to new semantics of ncgg 1987-11-10 13:49:04 +00:00
ceriel 2f37e8d600 Some more adaptions to new semantics of ncgg 1987-11-10 13:37:19 +00:00
ceriel ae6e2acb87 Some more adaptions to new semantics of ncgg 1987-11-10 13:26:40 +00:00
ceriel 028beaf5e6 corrected con_float 1987-11-06 13:12:21 +00:00
ceriel 734d549473 corrected signal.s 1987-11-05 10:34:04 +00:00
ceriel 77bcd64f03 improved the alilgnment checking somewhat 1987-11-04 10:41:32 +00:00
ceriel bad6246b59 improved the alilgnment checking somewhat 1987-11-04 10:26:41 +00:00
ceriel 9e9a6d4575 improved ffp.s 1987-11-04 10:07:57 +00:00
ceriel 086a086d12 included floating point code in table 1987-11-04 09:44:00 +00:00
ceriel 4b265a4f0a improved alignment checking 1987-11-03 16:43:24 +00:00
ceriel 80af6ce214 improved previous improvements 1987-11-03 16:17:37 +00:00
ceriel b236a708e2 improved the checking of sections 1987-11-03 16:09:55 +00:00
ceriel 2b3f059c55 Added fakfp.s 1987-11-03 15:56:44 +00:00
ceriel e2037c2e4b fixed some problems, and added floating point library 1987-11-03 15:35:43 +00:00
ceriel 9ae4e7924a Added Xstat.c, to convert between different alignments 1987-11-03 14:50:32 +00:00
ceriel 72ab7b68b8 Added Xstat.c 1987-11-03 14:43:40 +00:00
ceriel ab5a0efd48 fixed some bugs 1987-11-02 14:23:38 +00:00
ceriel c41fae1f8a avoid *REG constructions because of bug in assembler 1987-11-02 10:52:40 +00:00
ceriel e61d8f6356 made to work 1987-10-30 15:35:50 +00:00
ceriel a93d4a1e29 corrected alignments in tbl 1987-10-30 11:30:17 +00:00
ceriel f7c479d40b fixed typo 1987-10-30 10:49:35 +00:00
ceriel e0c73d5195 Added fake floating point routines 1987-10-30 10:42:36 +00:00
ceriel 032e9ebda5 fixed some problems with 1 and 2 byte compares 1987-10-29 15:10:30 +00:00
ceriel 98e6c244da CIU should not cause conversion errors! 1987-10-27 15:54:14 +00:00
ceriel 7de7b0c7ec CIU should not cause conversion errors! 1987-10-27 15:43:06 +00:00
ceriel 3ea6d40b4c fixed a typo. Case errors gave wrong trap number 1987-10-26 09:30:26 +00:00
ceriel bf0ee1f16c some fixes 1987-10-16 17:57:09 +00:00
ceriel 772ead2f9e adapted fakfp.s 1987-10-14 13:22:57 +00:00
ceriel 2401ca127e Initial revision 1987-10-08 11:34:19 +00:00
ceriel f19ffa5328 Initial revision 1987-10-06 16:58:10 +00:00
ceriel 4043036e27 Initial revision 1987-10-06 16:39:14 +00:00
ceriel 158d0505ea Added unmount, now unmount as well as umount exist 1987-10-05 09:17:42 +00:00
ceriel 7114bf47ec Adapted to new ncgg 1987-09-29 11:32:45 +00:00
ceriel 876026bedf Some improvements 1987-09-29 09:03:49 +00:00
ceriel 6db64e924c several fixes 1987-09-17 16:57:03 +00:00
ceriel 1ce6abf3de replaced printfs by fputs where possible 1987-09-08 09:00:29 +00:00
ceriel 8120857c5b disabled listing facilities 1987-09-08 08:59:03 +00:00
ceriel 4059840c43 some fixes/improvements 1987-09-07 19:05:29 +00:00
ceriel a1ae336247 first arg to putc must be int or char, not long 1987-09-01 18:31:42 +00:00
ceriel f00c143b28 added declaration for fopen 1987-09-01 15:58:30 +00:00
ceriel cb16212a09 declared freopen; apparently it is not declared in stdio.h
on some systems
1987-09-01 15:24:15 +00:00
ceriel c5d9d997b0 Added .globl, fix in Xfit call 1987-08-26 14:45:27 +00:00
cvs2hg 8d7ceb6d6c fixup commit for tag 'distr2' 1987-08-26 13:58:31 +00:00
ceriel dfbbf1e5d8 adapted table to new semantics of STACK 1987-08-26 13:54:20 +00:00
ceriel 12d731dfcf adapted table to new semantics of STACK 1987-08-26 13:47:37 +00:00
ceriel 7de2968629 added return.s 1987-08-26 13:06:09 +00:00
ceriel fd4f548d6e fixed addition, better patterns for SDL, SDE 1987-08-20 15:30:01 +00:00
ceriel cbcde9a311 told ncg that jsr kills the scratch registers 1987-08-19 19:51:13 +00:00
ceriel 939cc2432e fix 1987-08-17 19:39:30 +00:00
ceriel b3e649e463 fixes to additions 1987-08-17 18:09:31 +00:00
ceriel ddecd62870 minor fix 1987-08-17 16:30:14 +00:00
ceriel b3a30acb30 some more additions 1987-08-17 16:24:56 +00:00
ceriel 76d34a00e6 fix in LDC CMS 1987-08-17 14:18:40 +00:00
ceriel 07a8c48171 fix in one of those tricky addressing modes 1987-08-14 00:15:49 +00:00
ceriel 538f21b781 some fixes to additions 1987-08-13 15:30:48 +00:00
ceriel a0e4cd23cc signed compares were just wrong, added a few patterns 1987-08-13 11:22:59 +00:00
ceriel e571911b1b added cmi4.s 1987-08-13 11:09:24 +00:00
ceriel 3d90e41a7f fixed a fix, which did not fix a bug after all 1987-08-13 10:18:25 +00:00
ceriel 4769a76ca0 corrected 1987-08-12 21:36:30 +00:00
ceriel a0f89188b9 fixed 1987-08-12 20:51:23 +00:00
ceriel ab341e1c93 fixed EXG instruction 1987-08-12 18:37:20 +00:00
ceriel a6bf3e8892 yet another fix, this time to divu/divul/divs/divsl 1987-08-12 18:32:15 +00:00
ceriel 0ba64871f6 added many patterns 1987-08-12 16:19:02 +00:00
ceriel 9338e4e97d revised some patterns that could lead to NO REGS AVAILABLE 1987-08-12 15:58:54 +00:00
ceriel 887f6d16c9 some adaptions undone 1987-08-12 14:51:58 +00:00
ceriel c3fec1f112 take alignments into account 1987-08-11 15:28:06 +00:00
ceriel fe67243700 generate commons for bss 1987-08-06 15:11:09 +00:00
ceriel c24f960d82 moved the FCONST moves, so that they are found before the source moves 1987-08-06 13:08:02 +00:00
ceriel 16c73e6654 use malloc instead of sbrk 1987-08-06 13:04:20 +00:00
ceriel 6d85667761 bigger define for MAXSTAB 1987-08-06 13:00:47 +00:00
ceriel e516b1e321 added end.s 1987-08-06 12:56:11 +00:00
ceriel b80ad3f9b3 added missing patterns 1987-08-06 12:48:27 +00:00
ceriel 7f7f9b36cd some nofits are actually errors 1987-08-06 11:17:30 +00:00
ceriel 285654f044 some minor improvements 1987-08-05 18:24:31 +00:00
ceriel c9f7d845a2 temporary fix for commas within operands 1987-08-05 13:09:37 +00:00
ceriel 84bce837a0 fix in a call to record 1987-07-30 16:04:29 +00:00
ceriel aa5ab51147 do better bad-pointer testing 1987-07-30 09:20:59 +00:00
ceriel 05831b3438 System V has no ftime systemcall 1987-07-24 13:24:19 +00:00
ceriel 4600a65f07 did not export cerror, did not define _errno 1987-07-22 12:46:07 +00:00
ceriel 3929b47776 deleted useless tst.b instruction 1987-07-20 14:31:46 +00:00
ceriel 96957f398a call .trp instead of jmp to it 1987-07-17 14:16:39 +00:00
ceriel 2381b2e136 disabled assertions, fixed bug with pack/unpk 1987-07-16 09:44:44 +00:00
ceriel a8e086dbc3 yet another bug fix: the brk systemcall destroyed d1 1987-07-10 11:57:45 +00:00
ceriel f12358bfb0 fix: sbu was wrong for 4-4 1987-07-09 17:46:31 +00:00
ceriel 9d66bc3258 fix: sometimes the index mode was used in the wrong way 1987-07-08 16:36:45 +00:00
ceriel 69843cf9ce Added -DNDEBUG to Makefile, table now kills regvars 1987-07-06 15:28:59 +00:00
ceriel d120b2b73a tried to make faster 1987-07-06 13:03:14 +00:00
ceriel d6593abd5e bug fix: sometimes register variables were treated as scratch regs! 1987-07-06 10:24:51 +00:00
ceriel 54a85f705b fix: errmod --> errmon 1987-07-03 15:50:38 +00:00
ceriel d41028a664 pass EMHOME to nested make 1987-06-30 18:30:45 +00:00
ceriel d473c8b1df Added some register decls 1987-06-30 18:24:27 +00:00
ceriel 87c67b8c5f EM --> EMHOME 1987-06-30 18:20:25 +00:00
ceriel 9179494c16 fix: rck must call trp, not jmp to it. Return is possible. 1987-06-29 18:13:47 +00:00
ceriel 7d26d60bd4 Added the modifications that were made to the Minix code generator 1987-06-29 15:57:48 +00:00
ceriel ef7fd61029 enabled range checks 1987-06-19 09:47:53 +00:00
ceriel 1e5688a10e exg instruction translated wrong 1987-06-11 14:44:48 +00:00
ceriel a33bd07a3d fix in asp -2 1987-06-11 10:47:13 +00:00
ceriel 278eca6c56 modified print to use _write 1987-06-10 14:52:39 +00:00
ceriel 91bdfb9a12 some more fixes 1987-06-10 14:06:14 +00:00
ceriel 130abb7e3b bug fixes 1987-06-10 13:46:21 +00:00
ceriel e43a1b00f6 bug fix 1987-06-10 10:33:19 +00:00
ceriel 85023f4c14 some fixes 1987-06-09 15:15:18 +00:00
ceriel 7698c135be corrected some errors 1987-06-09 11:05:09 +00:00
ceriel 7f64ff28c0 added some routines 1987-06-09 10:50:47 +00:00
ceriel 33bd1f17af corrected syntax error 1987-06-09 10:35:22 +00:00
ceriel f751192942 many changes because of introduction of register variables si/di 1987-06-09 10:22:50 +00:00
ceriel 798261d992 pass EMHOME to nested make 1987-06-09 10:19:47 +00:00
ceriel 470dcc3d11 Added register variables: registers si and di 1987-06-09 09:47:02 +00:00
ceriel 3997e07366 removed printf.s 1987-06-09 09:24:05 +00:00
ceriel 791ec39e57 fix to fix 1987-05-26 15:35:17 +00:00
ceriel ac3c871ff8 yet another fix: conditional jumps did not work when exactly 256 bytes away 1987-05-26 15:31:43 +00:00
ceriel 61a5c8ce08 divided time costs by 10, because of overflow 1987-05-21 13:59:55 +00:00
ceriel dd2cf6bbaa Fix in wrong assertion 1987-05-21 09:28:33 +00:00
ceriel 1d213e28c4 use stdio to do output 1987-05-20 17:17:42 +00:00
ceriel 1b47f26e4b Some more adaptions to new assembler 1987-05-20 17:15:59 +00:00
ceriel a8db0ab298 Fixed some bugs 1987-05-20 17:15:22 +00:00
ceriel e0694e88a2 Added 'loc slu' pattern 1987-05-20 14:13:29 +00:00
ceriel 10e1c10bcf some bug fixes: filename and unintialized data descriptor 1987-05-19 15:13:57 +00:00
ceriel 643dee0ab6 Added a pattern for better *p++ operation 1987-05-19 08:50:17 +00:00
ceriel 6731de5286 some bug fixes with 'bisb' 1987-05-18 18:34:59 +00:00
ceriel e0c3807b29 -1 is now represented as such 1987-05-18 15:54:52 +00:00
ceriel 45f384c870 improved ROM handling 1987-05-18 15:50:42 +00:00