Commit graph

2690 commits

Author SHA1 Message Date
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
ceriel 32a436bab4 handle ROM's better 1987-05-18 13:29:32 +00:00
ceriel 46a07e1da5 Added conversion program 1987-05-18 11:37:18 +00:00
ceriel d2c6f22e32 Added *REG addressing mode, fixed a bug 1987-05-18 10:40:19 +00:00
ceriel 9e72c25a0f deleted FORMAT, fixed con_float 1987-05-15 16:32:14 +00:00
ceriel decfd1ce9c bug fix in jmp instruction 1987-05-15 16:31:00 +00:00
ceriel 0679596d4d bug fix in RMI 1987-05-15 15:46:50 +00:00
ceriel 98da0bbffb added end.s 1987-05-15 12:55:51 +00:00
ceriel 3077cb6610 libraries can now be made on any machine 1987-05-15 09:30:47 +00:00
ceriel 4888f39b05 use aal 1987-05-15 09:28:57 +00:00
ceriel 212a9e04ce addd .distr 1987-05-15 09:22:54 +00:00
ceriel 04dc83c149 converted to ACK assembler format 1987-05-15 09:11:10 +00:00
ceriel 7abf78f452 converted to ACK assembler format 1987-05-14 17:45:41 +00:00
ceriel 5053f2a183 generate code for ACK assembler, including floats 1987-05-14 14:58:21 +00:00
ceriel 235871bf4b minor fix; generate code for ACK assembler 1987-05-14 14:41:16 +00:00
ceriel 731edd0940 Initial revision 1987-05-14 14:32:55 +00:00
ceriel de8aceeeb4 use aal 1987-05-13 16:32:57 +00:00
ceriel b8b798706f fix 1987-05-13 16:19:49 +00:00
ceriel 43c8fb156b Initial revision 1987-05-13 16:13:52 +00:00
ceriel 0cc5442188 Initial revision 1987-05-13 14:36:45 +00:00
ceriel e4cc45b56f fixed problem with em_last file for int24 1987-05-13 10:18:42 +00:00
ceriel e91a85cbec minor fix 1987-05-12 12:34:04 +00:00
ceriel 35fa794781 Fixes to return sequence 1987-05-11 10:24:36 +00:00
ceriel 2d8e5089f4 vfork was wrong 1987-04-27 13:11:17 +00:00
ceriel 2b9292bc38 Some fixes 1987-04-23 14:49:49 +00:00
ceriel 90c699f418 Fixed wrong mlu4.s 1987-04-23 14:47:28 +00:00
ceriel 8f1fba2b7b Initial revision 1987-04-13 17:10:33 +00:00
ceriel 161c523488 Added execle.c and ececv.c 1987-04-13 17:09:38 +00:00
ceriel 218c1c46c4 Bug fix, program was not partable. it assumed same byte order as i86. 1987-04-13 15:57:33 +00:00
ceriel 3433445bbb Bug fix: did not accept loc 1 loc 4 cii 1987-04-13 12:52:38 +00:00
ceriel 81b1d21c35 Initial revision 1987-04-13 10:32:47 +00:00
ceriel 924d580670 yet another bug fix 1987-04-07 09:57:50 +00:00
ceriel a71813b911 Some more bug fixes 1987-04-06 17:59:57 +00:00
ceriel e04b39f7a2 Added Pascal library 1987-04-06 07:56:49 +00:00
ceriel f31c9f2a67 target optimizer must be installed before trying to install libraries! 1987-04-03 13:24:20 +00:00
ceriel 96d15a6c05 minor mod 1987-04-03 11:18:49 +00:00
ceriel 4b30a95d7a minor mods 1987-04-03 11:16:46 +00:00
ceriel 75a8a6cc64 some bug fixes 1987-04-02 14:04:17 +00:00
ceriel d2734bbdd9 "word" is always a long 1987-04-02 10:17:06 +00:00
ceriel 5889533297 "word" now is always a long 1987-04-02 10:07:10 +00:00
ceriel 410bfa3cb2 "word" is always a "long" 1987-04-02 10:04:25 +00:00
ceriel af7b083fd8 "word" is now always a "long" 1987-04-02 09:54:41 +00:00
ceriel 11db9b8fdc Added EMHOME 1987-04-01 08:54:00 +00:00
ceriel bc6486d7b0 Ported to other m68000 systems 1987-03-31 09:23:20 +00:00
ceriel 526d769271 *** empty log message *** 1987-03-31 08:42:07 +00:00
ceriel 2e948de48c *** empty log message *** 1987-03-31 07:28:06 +00:00
ceriel 8d209d8e01 umount, NOT unmount! 1987-03-31 07:28:05 +00:00
ceriel 8d5be706a8 No line directives 1987-03-30 13:18:10 +00:00
ceriel 18e5f78f21 Don't use reghp 1987-03-30 12:40:09 +00:00
ceriel e07da4cad3 don't use reghp 1987-03-30 12:35:46 +00:00
ceriel 3233aaf5a5 renamed systemcalls 1987-03-30 09:39:38 +00:00
ceriel 0036c7bd8a Added interpreter 1987-03-30 09:18:03 +00:00
ceriel db437cbda8 moved interpreter to another place 1987-03-30 09:05:14 +00:00
ceriel 6c84dcbf80 Initial revision 1987-03-30 08:02:43 +00:00
ceriel 44089a20ab Added occam 1987-03-30 08:00:59 +00:00
ceriel 0170bb504b Added Occam 1987-03-30 07:51:20 +00:00
ceriel a0542acab4 removed ".byte" 1987-03-29 13:39:14 +00:00
ceriel 1d443b6b4b bug fix 1987-03-27 13:34:46 +00:00
ceriel ecc1b3b971 .fat --> .fatal 1987-03-27 12:43:17 +00:00
ceriel 46a405c131 *** empty log message *** 1987-03-27 10:06:59 +00:00
ceriel 129343dc94 Franks version 1987-03-27 10:05:53 +00:00
ceriel 0cc30a7e49 franks version 1987-03-27 09:58:03 +00:00
ceriel 2aa64be3a6 Franks version 1987-03-27 09:55:28 +00:00
ceriel 13c208de3b Fraks version 1987-03-27 09:50:57 +00:00
ceriel ac395ba4a6 Initial revision 1987-03-27 09:47:16 +00:00
ceriel 3177072e2f Frans doodemans version 1987-03-27 09:33:02 +00:00
ceriel 2febff1a79 Frans Doodemans version 1987-03-27 09:28:16 +00:00
ceriel f4fb73386e fixed 1987-03-27 09:21:14 +00:00
ceriel cf8d769c73 fixed 1987-03-27 09:06:28 +00:00
ceriel 9c8b34c47d remainder now returned in d0 1987-03-27 08:57:38 +00:00
ceriel ea63596eb3 remainder now is returned in d0. 1987-03-27 08:49:14 +00:00
ceriel e5116f86dc Fixed a problem with SRU: no regs available 1987-03-25 16:26:58 +00:00
ceriel 34f41d7bf1 bug fix 1987-03-24 08:41:44 +00:00
ceriel 391f6cc9ea could not be handled by MINIX pre-processor 1987-03-23 14:48:56 +00:00
ceriel 375b5e9182 Bug fix in BLM 1987-03-20 19:21:23 +00:00
ceriel 73818f1a53 bug fix 1987-03-19 11:21:54 +00:00
ceriel 878cbab737 deleted "unsigned chars" 1987-03-19 10:20:40 +00:00
ceriel b86dc9f84d adapted for 7 character significance 1987-03-19 10:16:56 +00:00
ceriel 8829d77144 made name shorter 1987-03-19 10:15:58 +00:00
ceriel 88db8b43da Added distr entry 1987-03-19 10:12:51 +00:00
ceriel fd1682052d contained a switch on a long 1987-03-19 10:08:31 +00:00
ceriel f95c97b38c Use LDFLAGS 1987-03-17 16:37:04 +00:00
ceriel 15382edbd6 *** empty log message *** 1987-03-17 16:24:42 +00:00
ceriel b7cd38ab12 Use LDFLAGS 1987-03-17 16:18:08 +00:00
ceriel 94ff96cf1f bug fix 1987-03-10 17:41:37 +00:00
ceriel fb775d4ead Bug fix 1987-03-10 17:38:55 +00:00
ceriel b234851f00 Deleted -DUSG 1987-03-10 15:55:39 +00:00
ceriel c6dee66c71 Deleted -DBSD4_2 1987-03-10 15:45:38 +00:00
ceriel 4cf6acb1e2 *** empty log message *** 1987-03-10 15:44:25 +00:00
ceriel 8fb04a83bc Removed -DBSD4_2 1987-03-10 15:41:20 +00:00
ceriel 6eaf182cee Added Rcs Id 1987-03-10 11:49:39 +00:00
ceriel 5537abbdfb Added copyright notice 1987-03-10 01:26:51 +00:00
ceriel b43fed4fbc Added copyright notice 1987-03-09 23:47:46 +00:00
ceriel 815166e421 Added copyright notice 1987-03-09 19:15:41 +00:00
ceriel 7880748ecd Added copyright notice 1987-03-09 16:02:32 +00:00
ceriel 236c6c40f0 Added a warning for floating point constants 1987-03-09 11:25:28 +00:00
ceriel 4539fd3e09 bug fix 1987-03-05 19:27:53 +00:00
ceriel a39c668bab *** empty log message *** 1987-03-05 19:24:35 +00:00
ceriel f36ee6de55 could loop again 1987-03-05 17:40:48 +00:00
ceriel 7559525e48 ADB dumped core on the SUN, because of 0-indexes in the symbol table.
They are replaced by pointers to null-strings
1987-03-05 15:44:17 +00:00
ceriel 1ac5d646cf *** empty log message *** 1987-03-05 15:04:44 +00:00
ceriel 11ef9eed01 divu.l, etc where encoded wrong. 1987-03-05 11:21:34 +00:00
ceriel 3e68ea031b Bug fix in LIM instruction 1987-03-05 11:02:05 +00:00
ceriel bb51b8f4c0 *** empty log message *** 1987-03-05 10:59:57 +00:00
ceriel f87e83c697 ??? 1987-03-05 10:57:33 +00:00
ceriel 5380ae4768 Set "saveemp" before calling compute. compute might need it. 1987-03-04 10:34:57 +00:00
ceriel 0b92bc0cd7 Set saveemp before calling "compute". "compute" might need it! 1987-03-04 10:32:22 +00:00
ceriel 48296556f5 fixed typo 1987-03-04 10:14:13 +00:00
ceriel b7ee0bf85e *** empty log message *** 1987-03-03 11:22:29 +00:00
ceriel 48cc05ccf2 *** empty log message *** 1987-03-03 11:11:39 +00:00
ceriel 4d4c8b45fb *** empty log message *** 1987-03-03 10:49:10 +00:00
ceriel 2f9ab80205 Initial revision 1987-03-03 09:46:29 +00:00
ceriel c32da75ccd Initial revision 1987-03-03 09:37:26 +00:00
ceriel 1194f5f28c Initial revision 1987-03-03 08:48:53 +00:00
ceriel c4a8f2371d *** empty log message *** 1987-03-03 08:43:46 +00:00
ceriel e41a9f5b9c Added manual pages 1987-03-02 13:08:51 +00:00
ceriel f9b1523794 Initial revision 1987-03-02 13:06:23 +00:00
ceriel 033000c4e1 Added manaul page 1987-03-02 13:03:17 +00:00
ceriel a3d34a0e63 *** empty log message *** 1987-02-27 12:54:03 +00:00
ceriel f5099e7d9a *** empty log message *** 1987-02-26 19:54:57 +00:00
ceriel f8204dc8a9 newer version 1987-02-26 19:49:42 +00:00
ceriel 7932234ed8 Added Occam 1987-02-26 19:47:01 +00:00
ceriel 59de9303c5 Initial revision 1987-02-26 19:46:35 +00:00
ceriel d35866d832 Added cv 1987-02-26 16:18:39 +00:00
ceriel 5939ce9331 Added the cv program 1987-02-26 16:05:00 +00:00
ceriel 0e0071d790 Added another pattern 1987-02-26 15:40:44 +00:00
ceriel 84e04a4859 Added Occam 1987-02-25 19:45:49 +00:00
ceriel cfd7ba8bbb *** empty log message *** 1987-02-25 19:45:18 +00:00
ceriel 4922093f24 Initial revision 1987-02-25 19:45:17 +00:00
ceriel 897d312a1d Adeded Occam 1987-02-25 19:44:22 +00:00
ceriel 457e3f6033 Added OPccam 1987-02-25 19:40:22 +00:00
ceriel 59e9948aac Initial revision 1987-02-25 19:16:28 +00:00
ceriel 992a6a39c5 Added occam 1987-02-25 19:05:21 +00:00
ceriel a2c18875f6 *** empty log message *** 1987-02-25 11:04:30 +00:00
ceriel 98654d6c0f *** empty log message *** 1987-02-23 19:48:17 +00:00
ceriel 47d61c3ae9 Initial revision 1987-02-23 19:47:00 +00:00
ceriel 4fe6ea9c8a *** empty log message *** 1987-02-23 19:39:57 +00:00
ceriel f8b59e9308 Initial revision 1987-02-23 19:38:14 +00:00
ceriel a8ef006163 *** empty log message *** 1987-02-23 19:08:18 +00:00
ceriel 5bb235c02a Initial revision 1987-02-23 19:04:27 +00:00
ceriel 4ffb6fe8bd Initial revision 1987-02-23 18:58:58 +00:00
ceriel 318e1bfec8 *** empty log message *** 1987-02-23 18:28:42 +00:00
ceriel f2a77335b0 An attempt to make "erasereg" a little more efficient, as it seems
often to be called to erase the condition codes.
1987-02-21 22:20:10 +00:00
ceriel d493ffcfde bug fix 1987-02-20 17:35:08 +00:00
ceriel a3c78bffe6 Bug fix 1987-02-20 17:33:06 +00:00
ceriel 8612a70ea3 Initial revision 1987-02-20 14:36:01 +00:00
ceriel 80fe557cf3 *** empty log message *** 1987-02-18 16:41:57 +00:00
ceriel e796cb0f27 Prevented looping of the code generator on illegal zer instructions 1987-02-16 09:49:32 +00:00
ceriel 04d031d33d Added some buffering for writes 1987-02-13 12:44:33 +00:00
ceriel 629c0a315c Some extra patterns added. 1987-02-13 12:41:31 +00:00
ceriel a2f665de76 exporting EODDZ, etc 1987-02-12 13:36:55 +00:00
ceriel 0f49b18986 *** empty log message *** 1987-02-10 17:18:16 +00:00
ceriel 7cf87cb2a3 *** empty log message *** 1987-02-10 09:34:45 +00:00
ceriel 0d1c90a23e Adapted to new assembler 1987-02-09 16:49:13 +00:00
ceriel 4d10540d8d removed %0 stuff 1987-02-09 16:47:04 +00:00
ceriel e83991f533 *** empty log message *** 1987-02-09 16:39:05 +00:00
ceriel 78a60d9959 %03x --> %x_, because the former does not work on System V 1987-02-09 16:35:24 +00:00
ceriel cea6f4751e removed something that would not work on System V 1987-02-09 16:33:49 +00:00
ceriel 6d0a4a9ce0 changed directory: nas --> as 1987-02-09 16:29:15 +00:00
ceriel 4be7b3dfa5 Removed a %03x, which does not work on USG systems 1987-02-09 16:26:56 +00:00
ceriel 2c29e9f07c Changed an assertion that was no longer valid 1987-02-07 01:50:48 +00:00
ceriel 7dfb3c92ba target optimizer directory name is "top", not "opt" 1987-02-07 00:56:42 +00:00
ceriel 3fc90a8000 Added some patterns, and avoided a bug in the VAX assembler 1987-02-07 00:45:06 +00:00
ceriel 729490c212 *** empty log message *** 1987-02-07 00:35:16 +00:00
ceriel 622530ae68 Changed hash function, added "registers" 1987-02-07 00:13:56 +00:00
ceriel 4d92d60469 Added some "registers" 1987-02-07 00:04:05 +00:00
ceriel 5afc7363f0 *** empty log message *** 1987-02-04 17:43:20 +00:00
ceriel 45105f16c6 Added a few "nocoercions :" 1987-02-04 17:22:08 +00:00
ceriel 5627bb850e Initial revision 1987-02-04 16:44:15 +00:00
ceriel b6a56fb7e8 *** empty log message *** 1987-02-04 16:21:03 +00:00
ceriel 59a5eb4591 Added libsys, top 1987-02-04 15:51:35 +00:00
ceriel 199f9d38ea archive name change 1987-02-04 15:47:57 +00:00
ceriel 2ca7e7e2b3 Added definition for ASAR 1987-02-04 15:41:00 +00:00
ceriel 827f3da238 Name change of archive 1987-02-04 15:39:00 +00:00
ceriel 41cdf11b46 *** empty log message *** 1987-02-04 15:31:50 +00:00
ceriel fe3fe78538 Added some neccessary NC's 1987-02-04 15:11:51 +00:00
ceriel a0dad9f908 adapted to new assembler syntax 1987-02-04 15:09:31 +00:00
ceriel 1b071fe5a2 Initial revision 1987-02-04 10:40:32 +00:00
ceriel 0cf7165841 *** empty log message *** 1987-02-04 10:39:27 +00:00
ceriel 23bbc93a92 Initial revision 1987-02-04 10:35:30 +00:00
ceriel 755170f752 Added pascal lib 1987-02-03 14:47:45 +00:00
ceriel b69fd5feb8 adapted to new assembler syntax 1987-02-03 13:32:24 +00:00
ceriel fe53d6ed3f adapted to new assembler syntax 1987-02-03 13:23:38 +00:00
ceriel 2ed0d80be5 lock ??? 1987-02-03 13:09:27 +00:00
ceriel ea78c81da9 int --> int22 1987-02-03 09:57:57 +00:00
ceriel 6f1f0ef1bf int --> int44 1987-02-03 09:55:47 +00:00
ceriel 4ed7c62cca int22 --> int44 1987-02-03 09:55:06 +00:00
ceriel 5ac74e31e0 int22 --> int24 1987-02-03 09:53:20 +00:00
ceriel 6b753378bc int --> int24 1987-02-03 09:52:40 +00:00
ceriel 40dd8e2702 *** empty log message *** 1987-02-03 09:50:31 +00:00
ceriel 74114081ef ??? 1987-02-02 21:49:57 +00:00
ceriel d70c1e2149 ASP with negative argument wasn't accepted 1987-02-02 20:48:02 +00:00
ceriel 836fc810b3 Added target optimizer 1987-02-02 20:23:42 +00:00
ceriel 3515a1818a Initial revision 1987-02-02 20:14:16 +00:00
ceriel f67cdb8e44 Initial revision 1987-02-02 19:18:49 +00:00
ceriel 22a6938332 *** empty log message *** 1987-02-02 17:40:30 +00:00
ceriel e471d036d1 Added pc 1987-02-02 17:37:18 +00:00
ceriel 319d1508c2 Initial revision 1987-02-02 16:57:13 +00:00
ceriel 0a4b847f50 new definition of ISALNUM 1987-02-02 16:37:59 +00:00
ceriel 78a61585ce *** empty log message *** 1987-02-02 16:27:36 +00:00
ceriel 19a0a9b769 *** empty log message *** 1987-02-02 16:21:59 +00:00
ceriel 3c210cae1e Name change in library 1987-02-02 16:19:04 +00:00
ceriel d80d2a4c35 Initial revision 1987-02-02 16:12:55 +00:00
ceriel 563a799de2 Initial revision 1987-02-02 16:06:51 +00:00
ceriel 93ac463920 *** empty log message *** 1987-02-02 16:04:52 +00:00
ceriel 9ce25b36c4 library name change 1987-02-02 16:04:16 +00:00
ceriel 14138da395 bug fix 1987-02-02 15:28:31 +00:00
ceriel ca1654eae2 Initial revision 1987-02-02 13:36:33 +00:00
ceriel 1ac26f9b67 new version for .o 1987-02-02 13:30:20 +00:00
ceriel 9cd6325ee1 Initial revision 1987-02-02 13:11:35 +00:00
ceriel 3feb7454c5 Added clean-entry, tail_mon --> tail_sys 1987-02-02 13:09:17 +00:00
ceriel b96babed0a generating .o files 1987-02-02 13:07:28 +00:00
ceriel 345609b5ac version for new assembler 1987-02-02 12:44:39 +00:00
ceriel d8e018a044 *** empty log message *** 1987-02-02 11:22:47 +00:00
ceriel b7477f4654 Initial revision 1987-02-02 10:45:26 +00:00
ceriel e024792e68 Initial revision 1987-02-02 10:25:38 +00:00
ceriel e41a2618f8 Made floating point stuff depend on a #define: FPPSIM 1987-02-02 10:16:40 +00:00
ceriel ae3c81e0a6 Made floating point stuff depend on a #define: FPPSIM 1987-02-02 09:59:02 +00:00
ceriel 237d56ac16 *** empty log message *** 1987-02-01 22:32:23 +00:00
ceriel 60f9744253 Adapted to current situation 1987-02-01 22:13:26 +00:00
ceriel ec29d3b4a1 Initial revision 1987-02-01 21:53:24 +00:00
ceriel 7ab43d62db *** empty log message *** 1987-02-01 21:27:52 +00:00
ceriel e08ea100a4 Initial revision 1987-02-01 21:04:49 +00:00
ceriel e5238c6fcf *** empty log message *** 1987-01-30 20:50:31 +00:00
ceriel 496bba9475 New version 1987-01-30 20:48:31 +00:00
ceriel 923a85f5cc *** empty log message *** 1987-01-30 20:39:45 +00:00
ceriel 2b9c2283db *** empty log message *** 1987-01-30 20:27:28 +00:00
ceriel 095367ac29 machine name change: l68k2 --> m68k2 1987-01-30 20:24:35 +00:00
ceriel 47a1e91c19 name change of lib 1987-01-30 20:23:09 +00:00
ceriel f648d5d0ab Name change of lib, added head_em 1987-01-30 20:22:52 +00:00
ceriel f88e8c3ba4 1987-01-30 20:06:04 +00:00
ceriel 471884cdf4 *** empty log message *** 1987-01-30 19:58:55 +00:00
ceriel 9dd16696ef *** empty log message *** 1987-01-30 19:31:26 +00:00
ceriel c03c2ef9f2 Adapted to new assembler syntax 1987-01-30 19:20:31 +00:00
ceriel 1b09e55129 new assembler syntax 1987-01-30 18:41:42 +00:00
ceriel 5e36fd3351 Made more like other Makefiles 1987-01-30 18:24:42 +00:00
ceriel 7e68455893 *** empty log message *** 1987-01-30 18:15:22 +00:00
ceriel 076354168e error exit when compilation fails 1987-01-30 18:12:57 +00:00
ceriel 9390536d79 Error exit when compilation failes 1987-01-30 18:11:08 +00:00
ceriel 3c60c1918e changed #define m68020 to TBL68020.
Could otherwize cause problems when translated with ack
1987-01-30 10:57:17 +00:00
ceriel 4fb87d7c87 Initial revision 1987-01-30 10:49:21 +00:00
ceriel 0adac61dad *** empty log message *** 1987-01-30 10:18:40 +00:00
ceriel 0452b7c326 *** empty log message *** 1987-01-29 23:30:46 +00:00
ceriel e9d7db6f61 Initial revision 1987-01-29 23:25:01 +00:00
ceriel 0a279ebbbd Initial revision 1987-01-29 22:45:44 +00:00
ceriel 153e30bb1c Initial revision 1987-01-29 22:36:35 +00:00
ceriel 945d6a0188 Initial revision 1987-01-29 22:10:18 +00:00
ceriel 31b5e111bf Initial revision 1987-01-29 20:15:14 +00:00
ceriel 62746ef4ff Initial revision 1987-01-29 20:03:43 +00:00
ceriel d0894b8c33 deleted NOFLOAT 1987-01-29 19:58:10 +00:00
ceriel 39bc96fbd1 Deleted NOFLOAT 1987-01-29 19:56:16 +00:00
ceriel 27e48672bb no F_DUM in dummy float 1987-01-29 19:49:35 +00:00
ceriel 536611f0a2 Initial revision 1987-01-29 19:42:53 +00:00
ceriel c5897a8f81 Initial revision 1987-01-29 19:37:49 +00:00
ceriel bfb89ae937 Added a check for unresolved references 1987-01-29 17:13:37 +00:00
ceriel 59a08bb733 Changed to handle new ack object format 1987-01-29 15:54:46 +00:00
ceriel ef85335f8f name change of lib, moved head_em.s to libsys 1987-01-29 11:03:30 +00:00
ceriel 9871983602 Name change of lib 1987-01-29 11:01:27 +00:00
ceriel 7c658fff27 Name change of lib, added head_em 1987-01-29 10:47:27 +00:00
ceriel de343361e5 Name change. 1987-01-29 10:46:53 +00:00
ceriel 1bbe040688 PC/IX is system 3, not V7 1987-01-29 10:33:53 +00:00
ceriel 0331b0a1e2 Added IOR, AND, XOR, COM without parameters, because the
Pascal runtime system needs at least one of them.
Also deleted some old bug circumvention
1987-01-28 23:22:07 +00:00
ceriel 7be94f7d44 more corrections 1987-01-28 22:54:52 +00:00
ceriel eb0030af45 generate .o files 1987-01-28 22:26:27 +00:00
ceriel e69ccee1f7 syntax error correction 1987-01-28 22:23:14 +00:00
ceriel beaaa19ada generate .o files 1987-01-28 22:17:36 +00:00
ceriel 6aa3769e9f generating .o files 1987-01-28 22:14:40 +00:00
ceriel 1e5253e9e5 For generating .o files, aal archives 1987-01-28 22:14:12 +00:00
ceriel f35c426e26 .byte --> .data1 1987-01-28 19:02:25 +00:00
ceriel 0bbda61037 adapted to new assembler 1987-01-28 18:57:04 +00:00
ceriel eb703a6d80 Initial revision 1987-01-28 18:52:12 +00:00
ceriel 3bb50c7b8a endbss - begbss is no longer computable by the assembler 1987-01-28 18:49:59 +00:00
ceriel de51d1ee8e Improvement of conversions 1987-01-28 17:36:21 +00:00
ceriel a5c0f64d5e return exit status 1 when compilation failes 1987-01-28 17:26:52 +00:00
ceriel 160770d979 Bug fix: the STR instruction caused a translation with syntax errors 1987-01-28 17:22:25 +00:00
ceriel aeacaeb08f Initial revision 1987-01-28 15:29:13 +00:00
ceriel 7cfd88dab7 Adapted to new assembler producing .o files 1987-01-28 15:27:59 +00:00
ceriel 187b008eb2 archive name change: tail --> libem_s.a 1987-01-28 15:23:22 +00:00
ceriel aab8668d4b Bug fix 1987-01-28 15:15:28 +00:00
ceriel 50b2d9f4b8 Initial revision 1987-01-28 15:06:28 +00:00
ceriel c996384000 Adapted for new assembler syntax 1987-01-28 15:06:01 +00:00
ceriel 0930a80dd3 adapted to new assembler syntax 1987-01-28 15:03:39 +00:00
ceriel fb8fc4e07c Fixed introduced bug 1987-01-28 13:00:33 +00:00
ceriel ebd44261fe cc --> $(CC), added -O flag to CFLAGS 1987-01-28 12:49:42 +00:00
ceriel 77e82ac376 floating point constants are no longer fatal 1987-01-28 00:11:28 +00:00
ceriel 5f7937dd33 Added action for pc runtime library 1987-01-27 23:38:02 +00:00
ceriel ca796567f3 errno was'nt exported 1987-01-27 22:58:33 +00:00
ceriel c5fe8ce4dc new version for assembler producing .o files 1987-01-27 20:37:46 +00:00
ceriel c69f56bd2f By default only install tail_cc.1s and tail_cc.2g 1987-01-27 20:09:55 +00:00
ceriel 884a281dd4 Improved "clean" entry" 1987-01-27 10:52:09 +00:00
ceriel 89bbe4c782 correction of syntax errors 1987-01-27 10:50:43 +00:00
ceriel e969c006b7 Contained syntax errors 1987-01-27 10:45:01 +00:00
ceriel cfb3324b6f Better "clean" entry" 1987-01-27 10:41:19 +00:00
ceriel 145326b368 Adaption to new assembler generating .o files 1987-01-26 22:35:41 +00:00
ceriel 5abd614e01 Initial revision 1987-01-26 22:33:58 +00:00
ceriel 4133a3cbc3 Initial revision 1987-01-26 21:51:58 +00:00
ceriel 6db629db4d Added stty, gtty 1987-01-26 21:47:59 +00:00
ceriel 0b484452fd Initial revision 1987-01-26 21:43:12 +00:00
ceriel 2c2688a680 adapted to new assembler syntax 1987-01-26 21:22:23 +00:00
ceriel 80d363eac5 bug fixes in RMI and EXG 1987-01-26 13:36:40 +00:00
ceriel 9acc354608 adapted to new assembler syntax 1987-01-21 15:21:49 +00:00
ceriel 6c762a19e7 Changed /lib/cpp to ../../../lib/cpp 1987-01-20 13:09:56 +00:00
ceriel feea5a269f Adapted to new assembler syntax 1987-01-20 10:04:32 +00:00
ceriel 9f47676fa3 Bug fix in translation of "cms" 1987-01-20 09:31:31 +00:00
ceriel ba75d4c907 end.s separate from libem_s.a 1987-01-19 15:20:49 +00:00
ceriel 08ca9ba4a4 *** empty log message *** 1987-01-19 10:53:45 +00:00
ceriel bd56763235 Added exit in case of compilation failure 1987-01-19 10:52:25 +00:00
ceriel 433346583e new version for new assembler syntax 1987-01-19 10:51:50 +00:00
ceriel d899835b31 bug fix 1987-01-19 10:42:34 +00:00
ceriel 4d4854d610 ASAR=aal 1987-01-19 10:37:38 +00:00
ceriel 4dda9a5183 exit on compilation error 1987-01-19 10:36:27 +00:00
ceriel 035c115ca8 exit when compilation fails 1987-01-19 10:33:24 +00:00
ceriel 4e17f5b9a5 Initial revision 1987-01-19 10:32:32 +00:00
ceriel f72b739e21 Initial revision 1987-01-19 10:26:43 +00:00
ceriel 6de2acea83 Improved "make clean" 1987-01-19 10:19:56 +00:00
ceriel fcd2e936b4 Improved the "make clean" 1987-01-19 10:17:58 +00:00
ceriel 4489801c4f New version 1987-01-16 19:25:44 +00:00
ceriel f9f1db874f conversion to new assembler syntax 1987-01-16 17:17:12 +00:00
ceriel c6ace07201 new archive name. 1987-01-16 17:04:03 +00:00
ceriel 649a32fa82 conversion to new assembler syntax 1987-01-16 16:59:41 +00:00
ceriel 8dc5f90a88 new name for archive 1987-01-16 16:51:14 +00:00
ceriel 08cc79e513 new version for generating .o files 1987-01-16 16:50:50 +00:00
ceriel d2014ff946 conversion to new assembler format 1987-01-16 16:49:46 +00:00
ceriel d5148e0b0f Initial revision 1987-01-16 16:49:12 +00:00
ceriel a3b0f08d57 conversion to new assembler format 1987-01-16 16:34:45 +00:00
ceriel e346f6fc74 version generating .o files 1987-01-16 15:40:01 +00:00
ceriel 3e2d693b37 as --> nas 1987-01-16 15:21:51 +00:00
ceriel e4a90bc417 Bug fix. 1987-01-16 13:59:02 +00:00
ceriel 0b941ef495 Bug fixes 1987-01-16 13:51:45 +00:00
ceriel 324cbd8327 Fixed a minor problem with off_fmt, when it did not produce
a '-' sign when neccesary
1987-01-14 17:49:19 +00:00
ceriel 9877db53d9 Fixed a minor problem with off_fmt, when this format would not
produce the '-' sign.
1987-01-14 17:47:31 +00:00
ceriel 177e335cad Initial revision 1987-01-13 09:24:13 +00:00
ceriel e77bde5e75 Added TABLEFLAGS and CGGFLAGS. 1987-01-12 15:10:49 +00:00
ceriel 031d26deb4 Preprocess table. 1987-01-12 14:50:25 +00:00
ceriel 3245258560 Added exclusive or operator 1987-01-08 14:27:07 +00:00
ceriel ceee24a4cd Added bitwise and and or operators 1987-01-08 14:11:23 +00:00
ceriel 01ac83b971 fix to prevent loop resulting in stack overflow 1987-01-08 14:10:02 +00:00
ceriel bfb60b8a33 small adaption to "awayreg". 1987-01-08 14:09:14 +00:00
ceriel 97f8083ee0 adapted to get .o files 1987-01-08 11:09:06 +00:00
ceriel 8f8e0242d8 "l86" --> "i86". 1987-01-08 11:04:25 +00:00
ceriel c2805a25bd Initial revision 1987-01-08 10:41:08 +00:00
ceriel 037c2426ab Adapted to get .o files. 1987-01-08 10:29:45 +00:00
ceriel 669c5cf23f use "compare" shell script 1987-01-08 10:28:26 +00:00
ceriel 1a6f092a39 Initial revision 1987-01-08 10:21:35 +00:00
ceriel 9c50da1e82 changed name back: libem_s.a --> tail_em.a 1987-01-08 10:19:47 +00:00
ceriel c754f6ca69 adapted to new assembler syntax 1987-01-08 10:13:48 +00:00
ceriel 5cc2c0ccfc Initial revision 1987-01-08 10:07:43 +00:00
ceriel 11695db3e3 I don't know! but it was changed. 1987-01-08 09:56:17 +00:00
ceriel 0fd6417833 Adapted to new assembler syntax. 1987-01-08 09:39:54 +00:00
ceriel 18376b38cf Initial revision 1987-01-07 17:13:41 +00:00
ceriel ceff6f834a Removed a bug that led to infinite looping in obscure cases. 1987-01-06 18:49:00 +00:00
ceriel 0329b9ef9a added cleanup.c 1987-01-05 11:12:55 +00:00
ceriel e32480406f Initial revision 1987-01-05 11:08:47 +00:00
ceriel 974e2f7d4a Added exit.c stty.c gtty.c 1986-12-16 10:25:44 +00:00
ceriel 7e78bd904d Initial revision 1986-12-16 10:23:21 +00:00
ceriel 5bbac46b88 No longer use the "system-independant" tail_mon. 1986-12-12 17:56:05 +00:00
ceriel 70df23f6f8 head_em now resides in system dependant library. 1986-12-12 17:54:21 +00:00
ceriel 595cc41d9c Removed almost the whole file, as we now use assembly routines to
interface the systemcalls.
1986-12-12 17:51:03 +00:00
ceriel 184f06453a Initial revision 1986-12-12 16:12:19 +00:00
ceriel cb19bd1dd4 Bloody assembler does not recognize ',' in .globl 1986-12-12 14:45:20 +00:00
ceriel 980953f861 .globl does not accept comma's 1986-12-12 14:40:25 +00:00
ceriel d62336a718 Initial revision 1986-12-12 13:43:06 +00:00
ceriel 4c956c400e Initial revision 1986-12-12 12:49:50 +00:00
ceriel 9e6fe01229 Improved testing for 0-strings in the routine "mycat". 1986-12-11 17:04:40 +00:00
ceriel e98c02b831 Corrected a typo. 1986-12-11 17:03:11 +00:00
ceriel 7752bb27f6 Adapted to new assembler 1986-12-09 11:13:14 +00:00
ceriel a6ecac6f1d Only call "newrelo" when needed. 1986-12-08 10:39:13 +00:00
ceriel 6bf947ee6e *** empty log message *** 1986-12-08 09:24:58 +00:00
ceriel 8702a522d8 *** empty log message *** 1986-12-05 17:18:54 +00:00
ceriel 4b3e6a8ab6 Working version. 1986-12-05 17:17:03 +00:00
ceriel 8fd1977ab0 *** empty log message *** 1986-12-05 17:12:24 +00:00
ceriel b2f0b281cd Initial revision 1986-12-05 17:10:12 +00:00
ceriel 555c29971f initial version 1986-12-05 17:09:41 +00:00
ceriel 9aac83a83e *** empty log message *** 1986-12-05 16:59:51 +00:00
ceriel 28036b3741 Initial revision 1986-12-05 16:58:29 +00:00
ceriel 13a63ae5fe ??? 1986-12-05 16:36:40 +00:00
ceriel 947461e31f Removed DUK 1986-12-04 16:35:04 +00:00
ceriel e188fe0956 Version that uses libobject.a 1986-12-01 15:41:29 +00:00
ceriel b44e39cce8 Version that uses libobject.a. 1986-12-01 15:35:28 +00:00
sater 59861f883b added support for modhead 1986-11-28 13:47:44 +00:00
sater 17f5bc21e7 debugging stuff happened to end up on stdout instead of stderr. 1986-11-28 13:41:09 +00:00
ceriel 552f5a3f61 Initial revision 1986-11-24 21:52:09 +00:00
ceriel 8b718ee54b Initial revision 1986-11-24 21:45:03 +00:00
ceriel dbb351f078 Handled gen.c wrong. This is corrected. 1986-11-24 21:30:57 +00:00
ceriel 7c5553640e Added -DNDEBUG 1986-11-24 21:01:42 +00:00
ceriel 5ced6d6aef Initial revision 1986-11-24 20:58:35 +00:00
ceriel 86018d09e1 changed sizes of labstr and argstr to accomodate longer identifiers. 1986-11-12 21:14:05 +00:00
ceriel f7a6dc503c Changed sizes of "argstr" and "labstr", to accomodate longer
identifiers.
1986-11-12 21:04:38 +00:00
ceriel 541f3caf50 Removed the integer overflow check, as it is'nt checked by
"cg".
1986-10-30 15:44:25 +00:00
ceriel 162eb9bb70 forgot to restore return address in case ".trp" is called. 1986-10-30 15:01:16 +00:00
ceriel f793e823ec Made the trap message more readable. 1986-10-27 10:17:36 +00:00
ceriel 3d016f7385 Did not work properly, printed wrong trap number. Does not work
properly now, because it does no save the registers.
1986-10-27 09:57:42 +00:00
sater 02ff84337a Typo corrected 1986-10-24 16:58:46 +00:00
ceriel 908eeaf9cd Removed some ridiculous code. 1986-10-15 13:58:51 +00:00
ceriel 36ef5b504b Apparently, ex_ap disappeared. Put it in again. 1986-10-10 15:21:35 +00:00
ceriel 1d0f716a4e Oops, forgot to remove the id_first definition. 1986-10-10 15:09:34 +00:00
ceriel a43d257715 Added a "fmt_id" define, to prevent that no '_' is placed in front
of an identifier longer than 8 characters.
1986-10-10 15:05:10 +00:00
sater 2672c87f68 empty string was returned when it was not so good. 1986-10-09 16:15:00 +00:00
sater ae2f236663 nullpointer and empty string were confused.
Long live the PDP and VAX
1986-10-09 16:12:24 +00:00
ceriel 703eb4e7a0 Added RANLIB 1986-10-09 13:21:33 +00:00
ceriel 6a4a13d041 Initial revision 1986-09-24 11:24:37 +00:00
sater 9092e509c6 changed ad2str function not to add +0 at labels 1986-09-22 13:15:15 +00:00
sater b5009c57b4 made debiug output better 1986-09-22 13:14:54 +00:00
ceriel b6dde9472f Bug fix: The "cmp.l" instruction was sometimes used in an illegal way. 1986-09-10 16:03:11 +00:00
ceriel 9dbd1060ad An improvement to prevent calls to the .cuu routine. 1986-09-05 16:35:12 +00:00
ceriel 023073b422 Bug fix: the BLS instruction did'nt work with block moves of one word. 1986-07-25 15:57:03 +00:00
ceriel 6dd1a052d3 inn and set must be word-orientated, not byte-orientated. 1986-07-25 15:01:15 +00:00
ceriel c422c4e130 Bug fix 1986-07-25 14:17:23 +00:00
ceriel 37320faecc Bug fix 1986-07-25 13:19:51 +00:00
ceriel f68d0ffb7d Made tail_mon dependant on tail_mon.a 1986-07-23 11:06:29 +00:00
ceriel 79eab3513d Added a ".sect .text". The text "landed" in the bss segment. 1986-07-23 11:04:40 +00:00
ceriel 5d188dee44 Bug fix. It just did'nt work. 1986-07-22 15:11:09 +00:00
ceriel 729774d6f8 *** empty log message *** 1986-07-22 14:49:46 +00:00
ceriel a067d1bc0d Adapted to the use of the new assembler. 1986-07-22 13:42:21 +00:00
ceriel 399a46eb92 Adapted to new assembler and made re-entrant. 1986-07-22 13:37:16 +00:00
ceriel f514411cea Adapted to use of new assembler. 1986-07-22 13:23:14 +00:00
ceriel aee6a1648a Initial revision 1986-07-22 11:07:48 +00:00
ceriel f45f393b71 replaced all occurrences of "cc" by "$(CC)". 1986-07-22 11:01:54 +00:00
sater 4398053245 Conversions from 1 byte integers were wrong.
Only discovered after new C-frontend.
1986-06-16 11:35:12 +00:00
ceriel 966213238a There was a bug in the printing of the trap number.
This is corrected.
1986-06-06 23:35:42 +00:00
ceriel f12ea12eda Rediscovered a bug in the VAX 4.1 UNIX assembler. It handles $0f0.0 wrong!
The changes is the table insure that $0f0.0 is never generated.
1986-06-05 12:43:56 +00:00
keie de21842485 Added EODDZ to the exported externals.
It should have been there from the start.
1986-04-22 10:40:29 +00:00
sater 851a68883c repaired inreg() pseudofunction, it delivered total nonsense 1986-03-27 15:49:16 +00:00
em c21def03db updated 1986-03-05 17:12:39 +00:00
ceriel 249314e586 Bug fix: The "calls" instruction could be called with
first argument > 255. This is corrected.
1986-03-04 11:39:22 +00:00
keie 9c10e17f06 Ack is using good old cpp again. 1986-02-11 11:15:19 +00:00
keie 2d429613e6 *** empty log message *** 1986-02-11 11:14:11 +00:00
keie 2ff183fd2a Too long ago. 1986-02-11 11:13:41 +00:00
ceriel 847de065d6 A minor improvement. 1986-02-10 10:08:27 +00:00
bal 5ac646f89f Yet another bug reported by sater. 1985-11-18 16:55:53 +00:00
keie b493f98f39 The extra BSD4.2 code caused two branches to be out of range. 1985-10-15 15:53:48 +00:00
bal c9c168d853 Several optimization patterns for DAS (Delftse Ada Subset) frontend added. 1985-10-14 09:27:24 +00:00
bal 98d06cffb2 0 / -1 confusion for properties (bug reported by sater). 1985-10-03 14:47:28 +00:00
bal de79024451 0 / -1 confusion for properties (2 bugs reported by sater). 1985-10-03 14:45:53 +00:00
bal 0d9459bdd6 MAXSTAB set to 2500 (problem with argument list of ROM for new C front-end). 1985-09-06 11:06:32 +00:00
em cd5fb7ea8c Added str0 and str 1. 1985-07-26 17:38:22 +00:00
em 478209a840 This one works correctly for programs failing to translate. 1985-07-26 17:04:31 +00:00
em 1c5cb87985 removed a superfluous line. 1985-07-26 15:37:11 +00:00
em 83103c314b Initial revision 1985-07-26 12:52:13 +00:00
em bc759a2903 *** empty log message *** 1985-07-26 12:51:45 +00:00
em 6bdc39213b Initial revision 1985-07-26 11:56:24 +00:00
em 0e7eb937b4 Not using libmon. 1985-07-26 11:47:54 +00:00
em e63968056e Added RCSID 1985-07-26 11:45:49 +00:00
em 9ef57888fa Initial revision 1985-07-26 11:38:59 +00:00
em 6710f21388 *** empty log message *** 1985-07-26 11:29:08 +00:00
em b5efab645f Initial revision 1985-07-26 11:05:30 +00:00
ceriel 5d86ead6c0 There was a bug in the "str $1==0" instruction. It said:
str $1==0	| source4 |
			remove(ALL) "jsb\t.strlb"	|	| |
It should of course have been
str $1==0	| STACK |	jsb\t.strlb"	|	| |
1985-07-21 11:34:33 +00:00
bal 7b4b53af21 bugs for ngf 8 and fif 4 fixed (asp 16 --> asp 8). 1985-07-19 18:02:25 +00:00
bal 2e5bf801a0 patterns for "loc loc cii/cui/ciu/cuu $1==$2" added. 1985-07-19 17:58:34 +00:00
bal 04cee55976 .sect .text added 1985-07-19 13:43:03 +00:00
bal 479827380c .sect .text added 1985-07-18 14:52:56 +00:00
keie 57acada057 *** empty log message *** 1985-06-10 16:57:01 +00:00
keie 68e92c8319 *** empty log message *** 1985-06-10 16:05:04 +00:00
keie 1b972eff60 *** empty log message *** 1985-06-10 15:32:18 +00:00
keie b11d9ce683 *** empty log message *** 1985-06-10 14:52:43 +00:00
keie 1c19000977 *** empty log message *** 1985-06-10 13:55:48 +00:00
keie eea5656df7 *** empty log message *** 1985-06-10 13:50:36 +00:00
keie 1c9723afd7 Using new assembler & linker. 1985-06-04 11:43:01 +00:00
keie 23bf60a80e Adapated to use of new linker & assembler. 1985-06-04 11:30:54 +00:00
keie 04e97ce36b *** empty log message *** 1985-06-04 11:18:43 +00:00
keie 0370ea6d61 Adapted to use of the new assembler & linker 1985-06-04 11:18:09 +00:00
keie a9bbf81f93 Adapted to use of new assembler & linker 1985-06-04 10:57:42 +00:00
keie fa2547ddf7 Adapted to use of new linker & assembler. 1985-06-04 10:44:10 +00:00
keie a26a8318da Adapted to using the new assembler & linker. 1985-06-04 10:40:50 +00:00
keie 206c33b6bc Added a module for fake floating point. 1985-06-04 10:39:45 +00:00
keie 5acb12ebe0 Now prevents inclusion of failed compilations into libraries. 1985-06-04 10:32:27 +00:00
keie 040aa7115c Adapted to use of new assmbler and linker. 1985-06-04 10:32:07 +00:00
keie 531353e14d More adapted to use by march. 1985-06-04 10:30:18 +00:00
keie 3f83d34dd9 Adapted to use of the new assembler and linker. 1985-06-04 10:29:56 +00:00
keie 5fc5b3c32d A version that tells march to not try to include objects
of modules that failed to translate in the library.
1985-06-04 10:26:06 +00:00
keie 227a684c70 Adapted tu use new assembler & linker. 1985-06-04 10:25:30 +00:00
keie be932f0f5b 1 - Changed %D into %ld.
2 - Adapted to the new linker.
1985-06-04 10:21:15 +00:00
em 4d183a3757 *** empty log message *** 1985-05-23 13:56:24 +00:00
keie 177af75c93 *** empty log message *** 1985-05-13 11:19:24 +00:00
keie 8cbd17b1ba *** empty log message *** 1985-05-13 11:06:30 +00:00
bal 0db1db10b8 Bug fixed: cg generated instructions like "and.l #2,a4", which are
not allowed on the 68000.
The condition "inreg($...) < 2" is added to every EM-pattern that
accesses local non-register variables. So the ordering of the
patterns for regvar/non-regvar is no longer important.
1985-05-01 12:53:33 +00:00
keie 5472fafa56 Add hoc solution of .align problem. 1985-04-23 12:55:01 +00:00
em a0a7a48c3b The reading of the input is now machine independent. 1985-04-22 15:13:24 +00:00
em 89a37681fc *** empty log message *** 1985-04-22 14:12:26 +00:00
bal d0e857ddb2 Initial revision 1985-04-18 15:14:37 +00:00
bal 928e341f16 Bug fixed: incorrect return value
New version adapted from m68k4 version.
1985-04-18 15:12:29 +00:00
bal 3759de23eb Extra systems calls added 1985-04-18 15:12:06 +00:00
ceriel 9c9976c121 Er zat een bug in het patroon
lol adp stl met $1 < 0.
Ten onrechte werd in de gegenereerde code het AP register gebruikt.
Dit moest natuurlijk FP zijn.
1985-04-17 13:38:36 +00:00
keie eb3fc1d43e Added provision to print (possibly in mach.h defined) modhead
on the output assmble file as the very first text.
1985-04-16 16:14:55 +00:00
bal 7b745d6fb2 Bug fixed for pattern 'sti $1 > 4' (ADDREG -> ADDSCR)
Bug was present since version 1.1
1985-04-16 15:24:23 +00:00
keie f337b8df6d Removed RANLIB . 1985-04-14 14:27:04 +00:00
em 8b4f21bd95 Added libraries needed after installation of cg. 1985-04-14 13:57:31 +00:00
em ab820d3083 8080->i80. 1985-04-14 13:54:33 +00:00
em fb23d440f0 Removed a superfluous line. 1985-04-14 13:46:54 +00:00
em bd07643039 To prevent a (incorrrect) error message from distr/mktree. 1985-04-12 20:32:06 +00:00
keie 34ccddfc2d The library name was incorrect. 1985-04-12 17:21:52 +00:00
keie c19324dfea *** empty log message *** 1985-04-12 17:06:38 +00:00
keie 772b64fabd *** empty log message *** 1985-04-12 16:56:43 +00:00
keie ef92740400 Deletion of a few coercions caused a translation failure
for setjmp.e.
The coercions have been grabbed from an old version by FvH.
1985-04-12 16:43:40 +00:00
keie ee9c5be180 Initial revision 1985-04-12 16:40:22 +00:00
bal ca9a6feeb0 floating point stuff added 1985-04-12 15:47:30 +00:00
em fb6d291d38 *** empty log message *** 1985-04-12 14:33:09 +00:00
em e4e29ae837 Added flp.s, contains subroutines for all EM fp instructions.
They trap.
1985-04-12 14:29:07 +00:00
em 94534b7c15 1- Floating point routines now call routines instead of calling trp. 1985-04-12 14:25:59 +00:00
keie dcfe4e8a97 *** empty log message *** 1985-04-09 13:48:55 +00:00
keie 620216fb26 Error code 0 was returned when the installation failed! 1985-04-02 10:55:02 +00:00
keie 70d71f4355 Copy of ../libbc/compmodule. 1985-04-02 10:50:53 +00:00
keie 6b87f1082e Removed -DCPM. 1985-04-02 10:46:43 +00:00
em fd44c34a61 *** empty log message *** 1985-04-01 17:02:55 +00:00
keie 6c247029bd *** empty log message *** 1985-04-01 14:44:26 +00:00
keie 6bbdb92784 Adapted after installation of backend. 1985-04-01 14:02:58 +00:00
em 1879c8e724 *** empty log message *** 1985-03-29 21:44:50 +00:00
em 693830b09a *** empty log message *** 1985-03-29 21:10:43 +00:00
keie b3d11b1fa5 Removed pascal library. 1985-03-26 16:27:23 +00:00
keie 2b6187a009 *** empty log message *** 1985-03-26 16:23:21 +00:00
keie a8fc6009f7 The dl programs is replaced by a more general cv. 1985-03-26 16:20:11 +00:00
keie 92141b52ce Installed backend and libraries. 1985-03-26 16:18:24 +00:00
keie b63f304db1 Or's are not allowed on a-registers, add's are. 1985-03-26 16:09:07 +00:00
keie ec3e755168 Adapted to Unisoft signal handling. 1985-03-26 16:08:09 +00:00
keie a41ff68078 *** empty log message *** 1985-03-26 15:04:46 +00:00
keie 244e172413 Added head_em. 1985-03-26 15:04:02 +00:00
keie da936740a6 Added head_em to libsys. 1985-03-26 15:00:09 +00:00
keie c5a739c68f Moved head_em to libsys. 1985-03-26 14:53:00 +00:00
keie dc92fe358e *** empty log message *** 1985-03-26 14:48:32 +00:00
keie 59996174b6 Added some more system calls.
Moved errno to a separate file.
1985-03-21 14:13:55 +00:00
keie 84f9364d4c errno is moved to a sfile of its own. 1985-03-21 14:05:03 +00:00
keie a635fb0203 *** empty log message *** 1985-03-21 14:04:45 +00:00
em e3e1c5ac20 *** empty log message *** 1985-03-18 17:27:42 +00:00
em e3e9add8b1 Initial revision 1985-03-18 17:24:31 +00:00
em ffd0d165a7 *** empty log message *** 1985-03-18 15:52:00 +00:00
em 3e743d78f3 *** empty log message *** 1985-03-18 14:39:26 +00:00
em 90c847ca59 *** empty log message *** 1985-03-18 14:32:46 +00:00
em 1b162c577e *** empty log message *** 1985-03-18 13:46:31 +00:00
em a5f4b01d82 Initial revision 1985-03-18 13:15:00 +00:00
em c5508c7c0b *** empty log message *** 1985-03-18 13:12:07 +00:00
garde 80e349860b Added RCS id. 1985-03-18 12:55:07 +00:00
em 157b243956 *** empty log message *** 1985-03-18 12:46:51 +00:00
garde d52117c8dd Some less important changes 1985-03-18 10:00:30 +00:00
keie d457c50945 The universal assembler has a bug that precludes use of .align
in text segments, except as the very last command.
1985-03-15 11:03:41 +00:00
keie b294ab5042 The universal assembler has a bug that precludes use of .align
in text segments, except as the very last command.
1985-03-15 10:50:35 +00:00
em 9d0812746b The assembler proved to contain yet another bug.
.align in text segments will not work for values that are
not a divisor of the gcd of the instruction sizes.
1985-03-14 17:33:28 +00:00
em 9f203c9a17 Expressions are now always calculated in long.
Some backends needed that.
1985-03-12 10:41:29 +00:00
em 0c92039ba4 Expression are always evaluated in longs.
Some 2-4 backends needed long expressions.
1985-03-12 10:39:24 +00:00
em cf6d084155 Use of the Pascal library will not occur.
/.
1985-03-12 10:24:51 +00:00
bal 954d3a0326 Argument is 4 bytes (pointer), not 2 bytes. 1985-03-05 12:33:29 +00:00
keie 6f6356e0b4 Initial revision 1985-03-05 00:17:40 +00:00
keie 9e26d0e0c0 *** empty log message *** 1985-03-05 00:15:40 +00:00
keie bf3ba84e92 Adapted to 4-4. 1985-03-04 17:26:31 +00:00
keie ccdb8693ee Now using 4-byte integers and clearing D1 for double size
instruction pointers.
1985-03-04 16:12:10 +00:00
keie a8c5699241 Now returns correct values. 1985-03-04 16:11:56 +00:00
keie e0c4e4b686 Added execv and execle. 1985-03-04 16:11:41 +00:00
keie 8a40c25069 Now using .reghp. 1985-03-04 16:11:26 +00:00
keie 0fd729951a Removed superfluous instruction. 1985-03-04 16:10:47 +00:00
keie 7a30dc4868 *** empty log message *** 1985-03-04 16:08:41 +00:00
keie 4b1965afbc *** empty log message *** 1985-03-04 15:55:28 +00:00
keie b2b281f525 To force the first part of a circular ring of modules in from
tail_em.
/.
1985-03-04 15:37:38 +00:00
keie d2a6847715 The previous version still assumed two-byte integers. 1985-03-04 15:33:28 +00:00
keie 2690f07cbd Incorrect alignment caused odd _end, which caused
failures of malloc().
1985-03-04 15:30:44 +00:00
keie aa82964563 Now also prints stack height. 1985-03-04 15:29:36 +00:00
keie c636aba734 Alignment now also works when the alignment ended on odd boundaries. 1985-03-04 15:28:02 +00:00
keie ce92663b0a Initial revision 1985-03-04 15:27:09 +00:00
keie a89ba7074f Always returned non-zero value. 1985-03-04 15:25:33 +00:00
keie a71e706aa4 *** empty log message *** 1985-03-04 15:14:01 +00:00
garde 736a2d1022 Many things improved and extended 1985-03-04 13:42:38 +00:00
keie 9d7b94ba34 Adapted to a single cv for all machines. 1985-03-01 22:10:44 +00:00
keie 218f7ed718 Corrected a horrible typing mistake. 1985-03-01 20:08:45 +00:00
keie cb0b2e08cf 1 - At RREMOVE also check the stack set aside for coercions.
2 - When coercions unexpectedly need stack of part of the
stakpattern, discontinue this option.
1985-03-01 16:25:21 +00:00
keie c2a990768d The top of the stack, which is set aside for certain
coercions is now saved with special routines.
This allows RREMOVE to check for registers.
1985-03-01 16:20:13 +00:00
keie 36537eccc0 Also clear D1 (for static link). 1985-03-01 16:00:23 +00:00
keie 6cdcb391fb Added RCS ID. 1985-03-01 10:34:00 +00:00
keie 9d9c9ae97b *** empty log message *** 1985-03-01 10:30:23 +00:00
keie e7f7f33f60 cg tried to stack register parameters of moves, when
these registers were killed.
1985-02-26 16:31:38 +00:00
keie 408dacc2aa The stacking pattern for ldc C and 4 with highw(c)==0 was incorrect.
The effect was that rand() from libcc/gen always returned
a 0.
1985-02-19 13:41:30 +00:00
keie 445d52de66 Moved retar from ret.s to trp.s.
trp.s needed it and is behind ret.s in the library.
When ret.s is loaded, it calls (via unknown) trp.s so
inclusion in trp.s should work.
1985-02-17 22:31:10 +00:00
keie b82c00e153 Added a line for
loc loc cuu $1==$1, because write.e contained the line
loc 2
loc 2
ciu
and the cg failed to translate.
1985-02-17 22:03:44 +00:00
em bbfb511322 Added .align 2. Prevents end of bss to be odd.
Especially important for malloc, it distinguishes between
odd and even word pointers.
1985-02-17 01:12:36 +00:00
cvs2hg 3f3bddef8f fixup commit for tag 'dist2' 1985-02-17 00:57:20 +00:00
keie 9f45dd0650 Added .align 2.
Especially important for malloc.
1985-02-17 00:57:19 +00:00
keie 14875e6ca5 *** empty log message *** 1985-02-16 16:48:18 +00:00
em d32de5df93 Now chooses between Vax and Pdp conversion. 1985-02-16 15:58:34 +00:00
keie eeb944f6e3 The assembler is used for both 2/4 and 4/4. 1985-02-16 15:49:03 +00:00
em 4f80e81ee7 *** empty log message *** 1985-02-15 22:53:13 +00:00
keie 2a4335787e Adfded RCS id. 1985-02-12 14:37:52 +00:00
keie 1b5278f3d4 As left by Hans v. Staveren. 1985-02-12 14:32:20 +00:00
keie 815b0e0f0f *** empty log message *** 1985-02-12 14:20:30 +00:00
keie 70c000b03e Now using the same em.c as in m68k2/int.
The interpreters are moved from pdp/pdp_int (or some such)
to lib/int22.
1985-02-12 13:11:27 +00:00
keie f59262745e Initial revision 1985-02-12 12:54:44 +00:00
keie 0122bc2dd7 *** empty log message *** 1985-02-07 22:59:50 +00:00
keie c0085c2dd4 A list without double entries, for the moment supposing
that trp,etc always gets loaded, so will be there when .dvu needs it.
1985-02-07 22:51:12 +00:00
keie 00d75279e7 d2 contains the remainder of dvu i.s.o. d3. 1985-02-07 22:26:11 +00:00
keie c0d87aaa16 *** empty log message *** 1985-02-07 22:06:32 +00:00
keie 3c7fcfe81a Initial revision 1985-02-07 17:43:43 +00:00
keie 4ff7e05f7e Initial revision 1985-02-07 17:18:06 +00:00
keie 3df42a584c *** empty log message *** 1985-02-07 15:58:40 +00:00
keie 9c93cbdfaa *** empty log message *** 1985-02-07 15:33:13 +00:00
garde 20986fd6ea monitor calls open, close and ioctl removed. 1985-02-06 16:56:41 +00:00
garde 293dfd2c64 Initial revision 1985-02-06 16:50:52 +00:00
em e1b8023da1 *** empty log message *** 1985-02-05 14:52:52 +00:00
em 52d0f32e32 Copied from vax2, takes its info on which files
to use in which order from LIST.
1985-02-05 14:52:02 +00:00
em c8e426ffb8 This one is made with lorder|tsort. 1985-02-05 14:51:17 +00:00
em b70b6ba980 The first one, Duk's order. 1985-02-05 14:50:24 +00:00
keie 987ed39adb Added an entry "distr" to make tables1.c and tables1.h. 1985-02-03 23:50:51 +00:00
keie 3d4a5efe99 The creation of the library is now done by the process of creating
the distribution directory.
1985-02-03 23:23:50 +00:00
keie 46f5004866 Tail_em.s.a is now extracted from the RCS directory by the
distribution making process in em/distr2.
1985-02-03 23:21:24 +00:00
em 2cc4735151 Added libmon to libraries to be translated. 1985-02-02 18:06:37 +00:00
em dd7e9436a2 *** empty log message *** 1985-02-01 22:12:31 +00:00
garde 8e154eb826 Many, many improvements made, ususually small ones.
For example: many em-patterns have got alternative code-rules.
1985-02-01 12:51:56 +00:00
keie ca219d89e9 Now using ../../proto/libg/Makefile. 1985-02-01 12:38:08 +00:00
keie 26999bb517 To avoid conflict while compiling with acc itself the word
size of the target machine is now defined as TEM_WSIZE.
1985-02-01 12:32:46 +00:00
bal d1c0d1db13 Bugs fixed for the following patterns:
lol loc 255 and 2  (byte order was wrong)
loc x beq , 0 < x < 128  (was 0 < x < 256)
loc x bne (idem).
These bugs were introduced in version 2.2.
1985-01-30 16:34:14 +00:00
ceriel e936aea1e1 Added -DCPM to the flags. 1985-01-30 12:37:10 +00:00
keie fd4d46036a Added ranlib commends. 1985-01-24 16:16:32 +00:00
keie 1e3ec09984 Some minor changes. 1985-01-24 15:34:23 +00:00
bal 1732114593 bug fixed: the "incr" parameter of sbrk() is a 2-byte integer,
not a 4-byte integer.
1985-01-23 16:31:51 +00:00
garde a849b751a9 src1 and src2 extended.
Errors in 'pat loc cmi teq' and 'pat loc cmi tne' recovered.
Second stack-pattern for 'pat zlt' and 'pat zge' added.
Patterns for 'lil loc adi sil', 'lil inc sil', 'lil dec sil'
and 'sil lil' added.
1985-01-22 19:55:11 +00:00
em ea337060ec User defined trap handling routine is called with calls instruction.
A message is printed if there is no routine at all.
1985-01-22 15:20:19 +00:00
em 33c81637db Added `movl r3,ap' to restore the argument pointer before returning
vi jmp (r0).
1985-01-22 13:10:35 +00:00
em 08c8edf314 Changed #define's of newlbss of cst_fmt. 1985-01-21 16:40:02 +00:00
em 603f82a578 Bug fix: redefined a Local local causing an INTERNAL ERROR from as. 1985-01-21 15:49:22 +00:00
garde cd78a1a27a case 8 and case 6 deleted in switch of function 'prolog' 1985-01-21 14:17:11 +00:00
em cb49888304 To have a file preprocessed, it must start with a # in column o1.
The RCSid is replaced to accomplish this.
1985-01-21 12:56:09 +00:00
em a33d0e8e14 Replaced RCSid so that file starts with # in column 0 so it gets preprocessed. 1985-01-21 12:28:59 +00:00
em 4f40987ff0 Corrected type; forgot closing ". 1985-01-21 12:14:59 +00:00
em ccfa0db0de Removed #define IDFIRST because fmt_id() replaces it. 1985-01-21 12:09:44 +00:00
em 6ac5841c7f Initial revision 1985-01-18 16:06:21 +00:00
em f9c86fc6f6 Routines are now called with calls instead of jsb. We use ap as argument
pointer register. EM_BSIZE is required to be a constant.
1985-01-18 15:39:07 +00:00
em a4ca3054f0 Changed label generators and added fmt_id(). 1985-01-18 15:36:51 +00:00
em 10ce06ff2b Routines are called with calls instead of jsb. EM_BSIZE is required to
be a constant.
1985-01-18 15:33:44 +00:00
duk 8d87404836 Initial revision 1985-01-18 14:30:03 +00:00
garde d8d2068664 Initial revision 1985-01-17 14:31:34 +00:00
duk e1ef16649c Initial revision 1985-01-17 14:20:52 +00:00
bal 218ce4596e The EM runtime routines are reentrant now, so the remark about
reentrancy is removed from this file.
1985-01-17 10:39:33 +00:00
bal 8f7a447719 Bug fixed: a0 is changed by call to _brk, so it should be saved & restored. 1985-01-17 10:33:23 +00:00
keie 14a9b13fd3 Added RCS id. 1985-01-11 17:03:53 +00:00
keie d72ad93216 Allows optional second argument.
This is the name of the destination file. The destination directory
is determined by compare.
1985-01-11 16:46:02 +00:00
keie 081413cfda 1 - Allows 2 arguments, 1 - name of source in current directory.
2 - name of destination file(!path), default arg 1.
2 - Make the necessary dirctory.
3 - runs ranlib if "ar t ... | grep SYMDEF succeeds.
1985-01-11 16:43:56 +00:00
keie f0d34942e3 Added RCS id. 1985-01-11 16:28:30 +00:00
sater 7f0def8861 RREMOVE section updated. 1985-01-11 09:44:34 +00:00
sater 4ba6e7a39c *** empty log message *** 1985-01-08 15:34:54 +00:00
keie 576688fc10 *** empty log message *** 1985-01-08 11:48:43 +00:00
keie 5edf93d2de *** empty log message *** 1985-01-07 15:54:38 +00:00
keie dd0951f114 *** empty log message *** 1985-01-07 15:43:50 +00:00
keie 5779a88371 *** empty log message *** 1985-01-07 14:39:27 +00:00
keie 22c95138aa *** empty log message *** 1985-01-07 14:26:46 +00:00
keie d0268a4ec1 *** empty log message *** 1985-01-07 14:15:47 +00:00
keie 112211eb3b *** empty log message *** 1985-01-07 13:57:25 +00:00
keie d0444e3a04 15-5-83 EGK
The coercion from rm1 to register contained
                allocate(%[1],GENREG).
                The %[1] here is incorrect and has been removed.
16-5-83         EGK
                The word before the movb was cleared by a xor.
                Now we clear the upper byte after the movb.
                This allows the %[1] to be added to the allocate.
1985-01-07 13:51:36 +00:00
keie 9beb72e69b *** empty log message *** 1985-01-07 13:49:31 +00:00
keie 5fedca22ad *** empty log message *** 1985-01-07 13:37:12 +00:00
keie b4ad7c46da *** empty log message *** 1985-01-07 13:08:48 +00:00
sater 18dbfc024e Routine was wrong, leaving things on the stack in the one bit case,
the inclusion of slu in this routine was bogus.
It is never called anyway, so slu is taken out.
1984-12-20 15:17:05 +00:00
keie e129db8343 1 - Added RCS id.
2 - Used two argument [feature] of install.
1984-12-20 14:26:14 +00:00
keie 6c9e4c84f0 The definition if the symbols, end, endbss etc, is moved
from a library to a file. This to avoid 2 libraries in this
directory.
1984-12-20 14:13:48 +00:00
keie 37d01caabd 1 - signal did not clear the stack properly.
2 - lseek did not return correct.
1984-12-18 17:12:12 +00:00
keie 7b39ce2cfa Traps now work as documented. 1984-12-18 17:11:35 +00:00
keie 53a88ccd69 1 - Human readable profile and count.
2 - Length of last table is now 64.
1984-12-18 17:09:36 +00:00
keie 2d4614ca5a Profile, count, flow in non-local goto corrected. 1984-12-18 17:08:54 +00:00
keie 246f45c867 1 - Improved line number updating when returning from library routines.
2 - Line 234, 0xD must be #0x1C, crashed at error handling for
    incorrect return size.
1984-12-18 17:07:23 +00:00
keie b544d3b401 Replaced clr by the faster mov #0, (for d registers). 1984-12-18 17:06:36 +00:00
keie 5f41dcd958 1 - Indexed addressing mode gave unwanted sign extends.
They are replaced by additions.
2 - Added pointer checks.
3 - Completed parametrization of addresses of locals.

1984-12-18 17:04:24 +00:00
keie 9ea83d0838 Finishing profile tables. 1984-12-18 16:59:51 +00:00
keie 45e2eea414 1 - length of last table
2 - human readable profile and count output.
1984-12-18 16:58:30 +00:00
keie 8b60227186 Added pointer checks. 1984-12-18 16:58:11 +00:00
keie f0a6c2fbcf Altered 1980 in 1984. 1984-12-18 16:57:56 +00:00
keie eb15231cf4 Don't rely on cpp to be in the $PATH, call it from em/lib. 1984-12-18 13:12:30 +00:00
keie cf947cedd3 Added Ack distribution Makefile names. 1984-12-18 13:12:03 +00:00
keie 3b3d3f16b4 Adapted to new library. 1984-12-17 11:21:11 +00:00
keie 4f071008c8 *** empty log message *** 1984-12-17 11:11:37 +00:00
keie d77b2081c0 Now using LIST. 1984-12-17 11:06:48 +00:00
keie b097fe72a7 *** empty log message *** 1984-12-17 11:03:13 +00:00
keie 66d68121c8 Added F_DUM(Author of change-- Henry Bal). 1984-12-17 10:45:27 +00:00
keie 5060a9fcd6 *** empty log message *** 1984-12-17 10:44:08 +00:00
bal 523457f6ee Initial revision 1984-12-14 15:57:39 +00:00
bal 6babe9fccd Initial revision 1984-12-14 15:52:15 +00:00
bal ad815f1061 Initial revision 1984-12-14 15:41:14 +00:00
keie aa0f76a6cd Removed entries for pmds. 1984-12-14 13:45:42 +00:00
keie 0b9b183085 *** empty log message *** 1984-12-08 00:50:27 +00:00
keie 4cc2986757 This makefile was copied from ../../m68k2/dl.
The now irrelevant entries are removed.
1984-12-08 00:45:55 +00:00
keie 9f850cbb2d Comparing shouldn't stop when one compare fails. 1984-12-08 00:40:04 +00:00
keie 24204bca9f Added entries for pr and opr. 1984-12-08 00:28:16 +00:00
keie 1e651a534a Adapted to new install + compare, added anties for cmp, clean, opr and pr. 1984-12-08 00:17:39 +00:00
keie 1b210a8104 *** empty log message *** 1984-12-07 17:32:33 +00:00
keie a0f184e3d1 Improved "make pr". 1984-12-07 17:14:43 +00:00
keie 9b6c26ad14 An efficiency change only. 1984-12-07 16:52:09 +00:00
keie 89a757d6f9 Added cmp entry. 1984-12-07 16:45:26 +00:00
keie 518e817345 This one works, the previous one didn't. 1984-12-07 16:42:59 +00:00
keie f9fa5df654 install now allows a source and destination name. 1984-12-07 16:38:13 +00:00
keie 9e4b9fddab Now use prototype makefile from ../../proto. 1984-12-07 15:22:22 +00:00
keie af75a28622 Changed access path of em h directory. 1984-12-07 14:01:33 +00:00
keie c744b44b48 Changed access path of en h directory. 1984-12-07 14:01:11 +00:00
keie 80d4c7ca2f Initial revision 1984-12-07 13:41:58 +00:00
keie c2d3d6ce4a Initial revision 1984-12-07 10:42:27 +00:00
keie 695a914eb3 Added tail_m and tail_ln. 1984-12-04 13:31:03 +00:00
sater 0a00b80726 Added support for the fmt_id and fmt_ilb macros 1984-11-26 10:50:46 +00:00
sater 6a4dc794a2 In the RREMOVE section of this file, the field e_con of the
expression union was used in stead of e_reg.
Fixed. Checked all other occurrances, are correct.
1984-11-20 16:56:26 +00:00
sater 7c07f91e1c The constant 512 slipped in instead of BUFSIZ.
Changed.
1984-11-20 10:22:12 +00:00
bal d07b17ca5c The routine con_float now generates a dummy floating point constant
and gives a warning, instead of generating a fatal error + abort.
1984-11-06 12:50:21 +00:00
bal 58c679c94c Patterns for floating point instruction and for LFR 8 and RET 8 added.
Each such instruction now results in a call to a library routine.
At present, all these routines generate an Illegal EM Instruction trap,
but anyone wishing to implement floating point for the 6502 can
do so without changing the back end table.
1984-11-06 12:47:26 +00:00
em e2e78ccd0a The line with the user message for failure missed the call to echo. 1984-11-06 10:02:25 +00:00
bal 0d5a4693a7 make install also make a tail_mon now. 1984-11-05 15:58:11 +00:00
keie b6cfa32faa *** empty log message *** 1984-11-05 15:11:19 +00:00
bal b9ebdc1a07 em_head renamed head_em; em_tail renamed tail_em
installs tail_em rather than comparing it
1984-11-05 15:06:49 +00:00
em 3e7b7990f2 *** empty log message *** 1984-11-05 12:05:46 +00:00
em 9c66801439 *** empty log message *** 1984-11-05 11:55:15 +00:00
keie 2976b590af The flag -LIB was missing in the call to the shell-procedure
compmodule. Thus the generated libraries could not be effectively
used by our assembler/linker.
1984-11-05 11:37:23 +00:00
bal a837112d99 Negation of negative operand with inc/dec added in certain cases.
Don't know effect for sure, author has left.
Added rcsid.
1984-11-02 11:09:46 +00:00
bal 13685d4bc0 Initial revision 1984-11-02 10:13:29 +00:00
keie fedaa3267a Adapted to make use of ../../compare and ../../install. 1984-10-26 12:58:15 +00:00
keie 3d4feae541 Initial revision 1984-10-26 12:54:35 +00:00
keie 88b487cd7b Adapted to make use of ../../compare and ../../install. 1984-10-26 11:48:51 +00:00
keie 90a899316e Initial revision 1984-10-26 11:48:13 +00:00
keie 08632dc7bd *** empty log message *** 1984-10-26 11:47:56 +00:00
keie ae27a86236 Adapted to make use of ../../compare and ../../install. 1984-10-26 11:04:10 +00:00
keie fd0066f3a6 *** empty log message *** 1984-10-26 11:01:40 +00:00
keie 1092994a09 Initial revision 1984-10-26 11:00:08 +00:00
keie 9d8dd3f989 Adapted to use ../../install and ../../compare and hide knowledge
about final destination of libraries.
1984-10-26 10:25:32 +00:00
keie fd23647c1c Adapted to make use of ../../compare. 1984-10-26 10:21:18 +00:00
keie 4724e96474 Adapted to make use of ../../install and ../../compare. 1984-10-26 10:20:29 +00:00
keie 8df0cf17d6 Initial revision 1984-10-26 10:20:28 +00:00
keie 37730ff9ca *** empty log message *** 1984-10-26 10:19:56 +00:00
keie a1e7cc26f4 *** empty log message *** 1984-10-26 10:12:57 +00:00
keie 137fa9ebce Adapted to use install in ../.. 1984-10-25 14:28:56 +00:00
keie 0cacc96ed8 Now using the compare script in ../.. 1984-10-25 14:28:19 +00:00
keie 4a20e17a9b Initial revision 1984-10-25 14:28:18 +00:00
keie 3bfc57ecd0 *** empty log message *** 1984-10-25 14:24:43 +00:00
keie 86d96452a3 Altered the installation procedure.
The libraries etc. are now installed in lib/m68k2 using install in ../..
1984-10-25 14:22:53 +00:00
keie e88028dcb9 Altered to make use of ../../install and ../../compare. 1984-10-25 14:19:58 +00:00
keie 1e1fc36653 Initial revision 1984-10-25 14:19:57 +00:00
keie cdebe97db8 *** empty log message *** 1984-10-25 14:15:27 +00:00
keie 08545984f4 Now making use of ../../install and ../../compare. 1984-10-25 14:10:00 +00:00
keie b8e156100f Adapted to make use of compare in ../.. 1984-10-25 11:40:16 +00:00
keie 9109aaaada Adapted to make use of install and compare in ../.. 1984-10-25 11:39:39 +00:00
keie b51fa518be *** empty log message *** 1984-10-25 11:39:38 +00:00
keie c2b1975015 Adapted to make use of install and compare in ../.. 1984-10-25 11:27:08 +00:00
keie ca89e47aa4 *** empty log message *** 1984-10-25 11:25:22 +00:00
keie 26ba8cc8fd Removed the definition of LIBDIR, it is superfluous. 1984-10-25 11:16:31 +00:00
keie c94c590501 Adapted to make use of install and compare in ../.. 1984-10-25 11:16:30 +00:00
keie 38a943d27a Initial revision 1984-10-25 11:15:20 +00:00
keie a72cc54578 Adapted to use compare in ../.. 1984-10-25 10:46:32 +00:00
keie 9b6418c324 Adapted to compare in ../.. 1984-10-25 10:45:22 +00:00
keie e03e8c7607 Initial revision 1984-10-25 10:45:21 +00:00
keie 2cb8aae438 *** empty log message *** 1984-10-23 15:29:53 +00:00
keie 533d2bb940 Initial revision 1984-10-23 15:29:30 +00:00
keie 828b4d62c9 We have only one copy of the script for compare and install now
they are present in ../..
1984-10-23 15:14:17 +00:00
sater 7e31dee840 changed EM_WSIZE to TEM_WSIZE 1984-10-23 15:10:15 +00:00
sater a4a5fc4bfa changed references to EM_?SIZE to TEM_?SIZE 1984-10-23 15:04:24 +00:00
sater 62f42d18f7 changed EM_WSIZE to TEM_WSIZE 1984-10-23 15:02:03 +00:00
sater 79ea4bdea3 Changed to use -h flag to cgg and better way of preserving old tables.h
if not changed. Nice huh, Andy?
1984-10-23 13:29:41 +00:00
sater ab0db1c5fb added rcsid(again). Who took that away? 1984-10-16 13:45:16 +00:00
sater 5d5a09a5d0 added code to generate code for ACK assembler.
Works if ACK_ASS is defined.
1984-10-16 13:31:44 +00:00
em 94e069fde1 Initial revision 1984-10-09 10:36:29 +00:00
keie 6cbb37051b Initial revision 1984-10-08 14:11:42 +00:00
keie 550d1fa79e New installation procedure:
1 - New place for binaries and libraries in the ACK tree.
2 - The ranlib action is moved to ../../install which tries it at
    every action.
1984-10-08 14:09:28 +00:00
bal 46dc90f366 bug fixed: generate "add.l #65536,a1" rather than "lea 65536(a1),a1".
The latter form is only generated for constants that fit in a word.
1984-10-08 12:45:38 +00:00
sater 13d6e6815e added missing cast at call to regsave, in ms_gto case 1984-10-02 11:17:57 +00:00
sater 92aecb175c changed definition of myalloc to extern 1984-10-02 10:31:06 +00:00
sater a3f62d0255 added external definition for myalloc() 1984-10-02 10:30:44 +00:00
bal ebed9d4804 unlk a6 added to restr(). 1984-09-11 15:44:14 +00:00
keie 4c265a7cc6 Initial revision 1984-09-03 13:49:40 +00:00
sater 2bf16c5b2f Variable nregvars had a name clash with the array nregvar[] in the
file tables.c. That was different in the 8'th character (!"#$%&'()_).
These variables should actually be static.
1984-08-23 17:07:53 +00:00
sater 5689e6ab64 Increased the amount of information passed through error routines
to printf. The routine badassert, running on a 2/4 machine lost it's
last argument on the way.
Anyone know of a better way to solve this problem?
1984-08-17 15:35:28 +00:00
sater ce098c78cb added patterns to prevent stacking in *p++ cases 1984-08-15 16:05:54 +00:00
sater e682a47599 added patterns for inc/dec/adp of local and external offsetted
This makes the getc() macro from C very efficient, among others
1984-08-15 14:31:54 +00:00
sater e41876f32a reworked patterns for autoincrement stores, now that peephole optimizer
rearranged it.
1984-08-07 10:22:49 +00:00
sater 6f8e6faa1f added setcc calls to some incrementing ops
added patterns for indirect local and external increments
added patterns for loe ine and such
1984-08-03 16:33:40 +00:00
sater ff9d23e4ec A move from a nonreg to a reg did not have the effect that all
registers clashing with the destination were erased. Erase added.
1984-08-02 16:31:25 +00:00
bal 6e519cf02b bug fixed: added "fprintf(codefile,""rts\n");" to restr() 1984-07-30 12:47:54 +00:00
bal f2e52892ac bugs fixed (syntax errors, patterns moved to front,
"ldl ldl adp sdl sti" requires DATAREG instead of ANY1 on
fakestack)
1984-07-30 11:16:41 +00:00
bal 233b4aeee4 patterns added to generate autoincrement and to generate
a "move X,d0" instead of a "move X,-(sp)" before storing into X
1984-07-27 16:53:19 +00:00
sater 0b07016f0b added PR* routines 1984-07-26 13:15:21 +00:00
sater 5894adfd67 Changed procedure prolog to use PR* routines. 1984-07-26 13:05:22 +00:00
keie 14a3683f85 *** empty log message *** 1984-07-23 11:49:00 +00:00
sater eebc753306 removed all calls to blm~ from table
duplicated some patterns for in[lc] to deal with de[lc]
extra rule for adi 2 to deal with source1 cleverly
1984-07-23 11:29:59 +00:00
sater 978dd0191a removed blm.s, not used by table anymore 1984-07-20 16:20:54 +00:00
sater 5b20e4fed2 edited to make reentrant, no more globals in use 1984-07-20 16:20:28 +00:00
sater eb823929a1 A sti 8 of a regdef8 token went into panic mode. Fixed. 1984-07-20 10:32:48 +00:00
sater ef248ee65e to check long >= 0 or long < 0 it is enough to test high order word. Added.
anding and oring of long constants is much better now
dvu 2 and rmu 2 by positive constants is now done inline.
1984-07-19 16:50:27 +00:00
sater e20ab23a4b added rcsid 1984-07-19 15:03:30 +00:00
sater 5fb767966b Initial revision 1984-07-19 15:01:43 +00:00
sater 15e9fd8cd5 removed #ifdef UNTESTED around logical instructions without arguments,
seems they were used ( which implicitly means tested ) after all
1984-07-19 14:03:49 +00:00
sater 73d8f05fb5 Initial revision 1984-07-19 13:52:18 +00:00
sater 3ca5d2fcb6 added rcsid 1984-07-19 13:34:12 +00:00
sater b95f4c8bfd Initial revision 1984-07-19 13:20:15 +00:00
sater 801226a45c old code put back, now register handling is different again
actually old code never was removed, due to a misunderstanding
about comment conventions.
1984-07-19 13:12:03 +00:00
sater f16fdf4e7f makefile adapted to new style archive handling, RCS and all that 1984-07-19 13:11:36 +00:00
sater d082a2b0a2 a setl instruction was changed to a setd
setl was just plain wrong
1984-07-19 13:09:53 +00:00
sater d5aa088876 Initial revision 1984-07-19 12:51:00 +00:00
bal 8defe7ce53 rcsid added 1984-07-19 11:50:29 +00:00
bal 69584eb0ca Initial revision 1984-07-19 11:50:28 +00:00
bal da4092cbdf New implementation of GTO (without register save masks)
several optimizations added
1984-07-19 11:15:28 +00:00
bal c1fd560106 New implementation of GTO (without register save masks) 1984-07-19 11:07:15 +00:00
bal 17caf7129e rcsid added
several optimizations added
1984-07-19 11:02:06 +00:00
bal a520ccdbbc rcsid added
clr.w -(sp) generated in prolog if register save mask is 0
1984-07-19 10:57:19 +00:00
bal eeeff10a51 Initial revision 1984-07-19 10:03:10 +00:00
bal c75693c35a Initial revision 1984-07-19 09:37:24 +00:00
sater e1aef765a0 added patterns for ldc adi/ldc sbi with zero high order word
added patterns for *--p with p register
added patterns to generate cmpb to compare two bytes.
added patterns to use regvar to index global array
added patterns for lol inl
added patterns for external pointer increment/decrement
1984-07-18 16:47:24 +00:00
sater ec992b001c added definition of index, to keep compiler happy 1984-07-18 14:14:46 +00:00
sater 8304ce5eae removed recursive comments
removed NC with sti rules
added rule to reverse operands of adi 2
added rule to convert loc sbi to loc adi
added loc slu -> loc sli rule
added local++ rule
added rule for asping xsource2
added rule for csb when nothing on stack
1984-07-18 13:39:24 +00:00
sater 8af636a3c1 added rcsid
changed instruction label format to allow more than 256 procedures
1984-07-18 13:32:11 +00:00
sater 3169067979 changed instruction label format to allow more than 256 procedures 1984-07-18 13:28:01 +00:00
sater a241500a91 added rcsid
converted to recognize and generate new 0%o format
1984-07-18 13:14:18 +00:00
sater e2f49f412d added special patterns for:
1) long compared to constant ( ldc cms 4 zxx )
2) long increments ( ld? ldc adi 4 sd? )
3) autoincrement loads and stores ( lol lol adp stl loi/sti )
1984-07-16 14:39:21 +00:00
sater 267955e114 added missing #endif
added two patterns, big improvement
added patterns for ciu and cui
some cosmetic change
1984-07-13 16:13:56 +00:00
sater da8966a6c8 Removed some patterns that have never been tested.
Now if someone uses them he will hear that it doesn't work.
That must be better then giving him code that probably won't work.
All these patterns had to do with things like adf without an argument
and things like that.
1984-07-13 14:55:37 +00:00
sater caa918f7d9 Initial revision 1984-07-13 11:25:46 +00:00
sater 28960f5d32 Initial revision 1984-07-13 11:12:23 +00:00
sater 3e78acff56 removed REGPATCH define 1984-07-12 11:03:18 +00:00
sater e3acc1a9ed added definition of newplb()
removed a tab from some string
1984-07-12 11:02:44 +00:00
sater 4558cb8836 Replaced call to newilb after pro pseudo to call to newplb,
including retrofit for existing mach.h files
1984-07-12 09:26:24 +00:00
sater 25eef41c3a Initial revision 1984-06-25 16:22:03 +00:00
sater 2ef7ee3efc Initial revision 1984-06-25 11:02:34 +00:00
sater 2d4de6d34e added rcsid
Some constants had survived in the text. They were parametrized.
1984-05-19 12:52:25 +00:00
sater f39171e3c4 added rcsid 1984-05-19 12:52:21 +00:00
sater c58492b45b Initial revision 1984-05-19 12:48:59 +00:00
sater 7d75cf2799 Reworked to work, I think 1984-05-19 12:44:53 +00:00
sater c4826294dc added rcsid
Tried to make machine independent,
machine independent sources now taken from ../../proto/cg
Changed according to suggestion from ceriel to prevent running cgg twice
1984-05-19 12:03:22 +00:00
sater ceeeca40f6 added code to save all registers for ms_gto
changed place of #ifdef to make this null-module compile faster
when no register variables are used.
1984-05-19 11:49:37 +00:00
sater 0cd7d8826e erase(reg) now also erases all register whose contents depend on
the contents of reg.
1984-05-19 11:49:01 +00:00
sater 9dfcd76f4b added code to recognize ms_gto 1984-05-19 11:48:40 +00:00
sater 54e681c6cc added rcsid 1984-05-19 11:42:19 +00:00
sater 445ee4ccb8 added rcsid
added code to check for write errors on codefile
1984-05-19 11:40:08 +00:00
sater f792cb549e added rcsid
removed sign extension bug in large constants
1984-05-19 11:38:48 +00:00
sater 65e35e6d53 added rcsid
added code to insure instructions come out in .text space
1984-05-19 11:38:15 +00:00
sater 18e0859e5d Initial revision 1984-05-19 11:08:27 +00:00
sater 5eeba1c1e0 Initial revision 1984-05-18 21:27:39 +00:00