Commit Graph
100 Commits
Author SHA1 Message Date
bal 7657fb8d45 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
bal 8597f736da parameter of fscanf changed from "%d" to "%hd" to read a short. 1985-01-23 16:28:58 +00:00
bal 086642a17e core allocation macros added. 1985-01-23 16:27:47 +00:00
bal 858a1f55e0 ovfl_harmful and arrbound_harmful turned into ints 1985-01-23 16:25:29 +00:00
bal a8f778fb34 Interface of tmplocal() changed: second parameter is a long now 1985-01-23 16:23:15 +00:00
bal e7bf924ff7 interface with tmplocal() changed: second parameter is a long now. 1985-01-23 16:18:33 +00:00
bal 81355e7a10 bug fixed in get_instrs(): instr should be an int rather than a Celem_t. 1985-01-23 16:16:49 +00:00
bal 2568996690 bug fixed in last_mnem(): test on nil-pointer.
bug fixed in try_tail(): add line "if(l1==0||l2==0) return FALSE".
1985-01-23 16:13:57 +00:00
bal fa3e83fbd8 bug fixed in last_line() : assert(l!=0) should be assert(lines!=0). 1985-01-23 16:12:21 +00:00
bal c64b43ae7e bug fixed in routine get_ca_lines(): test on nil-pointer. 1985-01-23 16:10:43 +00:00
bal a358b4cf96 init_regcnt renamed initregcnt to avoid name conflict.
bug fixed in routine fits_in(): test on nil-pointer.
routine choose_location(): interface with tmplocal() changed, second
parameter now is a long, so a cast is added.
1985-01-23 16:07:09 +00:00
bal 579935b64e rules for itemtab.h and makeitems added. 1985-01-23 15:50:17 +00:00
bal ee1a4305f4 clean_items renamed cleanitems to avoid name conflict.
clean_timeset renamed cleantimeset to avoid name conflict.
bugs fixed: calls to fscanf() with a pointer-to-short as argument
should provide a "%hd" instead of "%d".
1985-01-23 15:45:58 +00:00
garde 7b01e4ee6f 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 d224507a75 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 c6d9ab97ec Added `movl r3,ap' to restore the argument pointer before returning
vi jmp (r0).
1985-01-22 13:10:35 +00:00
em 1555d8948e Now using opder recommanded by 'lorder'. 1985-01-22 02:17:13 +00:00
keie 2c3c7efe8c Printf does not return a truth value for failure.
These -incorrect- tests were replaced by calls to ferror.
1985-01-21 23:58:07 +00:00
keie c4daab57eb Added declaration of _newstr. 1985-01-21 23:57:44 +00:00
keie 7f22afeb89 Added correct declaration of salloc, thereby preventing incorrect conversions.
Removed now unnecessary casts from salloc to (char *).
Added a cast to (char *) for the argument of sfree in the second call.
1985-01-21 23:56:10 +00:00
keie 2823430d65 1 - Changed argument from int to unsigned.
2 - The test for a failed malloc is changed from comparison to -1
    to comparison to 0.
1985-01-21 23:54:46 +00:00
keie 1668923508 Tests for EOF returned by stdio routines need the full int width. 1985-01-21 23:53:41 +00:00
keie 3f3a9ed279 Removed casts made superfluous by adding newstr to string.h 1985-01-21 23:53:01 +00:00
keie 092c81b39c Test for EOF returned by stdio routines have to use the full int width. 1985-01-21 23:52:19 +00:00
keie 3b1e068b5d Removed cast made superfluous by added newstr to string.h 1985-01-21 23:51:33 +00:00
keie 14e1e3c768 Added test for outcome of request for more core.
If no more core is available a fatal error message is produced.
1985-01-21 23:48:06 +00:00
em f4f7d5676a Changed #define's of newlbss of cst_fmt. 1985-01-21 16:40:02 +00:00
em 7b3a4577cc Bug fix: redefined a Local local causing an INTERNAL ERROR from as. 1985-01-21 15:49:22 +00:00
keie 512e225b73 Due to an 8 character identifier length limitation the identifier
"strcompare" is changed into "strcomp".
1985-01-21 14:52:34 +00:00
keie 52249bfb5d Due to an 8 character identifiers limitation calls in EM
the identifier "randomize" was changed into "randomi".
1985-01-21 14:51:29 +00:00
keie 0aded9a4da Due to an 8 character identifiers limitation on EM calls to
"setchannel" were changed into "setchan" and the identifier
"seektable" is replaced by "seektab".
1985-01-21 14:50:12 +00:00
keie c3df7e864a Changed calls to "setrandom" into calls to "setrand" and
calls to "randomize" inro calls to "randomi" to avoid
problems with routines compiled by C.
1985-01-21 14:48:16 +00:00
keie c04e2decaf Added a few /*NOSTRICT*/ comments to indicate awareness of lint complaints. 1985-01-21 14:30:55 +00:00
keie 5bdc21e6c7 1 - Changed the defintion of a local 's' into 'Sym' to avoid naming conflict.
2 - Added .integer, .Sptr and .cptr at appropiate places to uses of yylval.
3 - Removed unnecessary casts.
4 - Added a few /*NOSTRICT*/ comments to indicate awareness of lint
    complaints.
1985-01-21 14:26:29 +00:00
keie 858bd446fd 1 - Added comment to indicate awareness of lint complaints.
2 - Added/Removed some casts used with core allocation/deallocation.
1985-01-21 14:23:49 +00:00
keie 9ef0eefc55 Changed the argument of salloc from an int into an unsigned.
Just to shut up lint.
1985-01-21 14:22:07 +00:00
keie 9ced1efe34 Added a declaration of gosublabel. 1985-01-21 14:21:52 +00:00
keie ac043a42de Added a few comments to indicate awareness of lint complaints. 1985-01-21 14:20:11 +00:00
keie 8d7dbdd802 1 - Removed definition of POINTERSIZE.
2 - Defined void as int, some compilers don't know void.
3 - Added declarations of the routines proclabel, salloc, strcpy, strcat, malloc.
1985-01-21 14:18:47 +00:00
garde 05dbcb9956 case 8 and case 6 deleted in switch of function 'prolog' 1985-01-21 14:17:11 +00:00
keie d3a42778d0 Now using a union for YYSTYPE and typed (non-)terminals.
Changed values $n(intvalue) to ival in definition of filelist.
Changed one asp,$n(midparms) into several asp,...SIZE in the definition
that uses MIDSYM.
1985-01-21 14:15:06 +00:00
keie 7aa0ac7b9b 1 added lint entry.
2 changed calls to cc into $(CC)
1985-01-21 14:14:22 +00:00
em dd7341586c 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 35b13a69eb Now using correct RCS identification 1985-01-21 12:47:04 +00:00
em 72a885e8a5 Renaming due to 8 character C compiler limit. 1985-01-21 12:37:26 +00:00
em 22d8081884 Used a correct definition of malloc. 1985-01-21 12:35:53 +00:00
em fd84b38268 Replaced RCSid so that file starts with # in column 0 so it gets preprocessed. 1985-01-21 12:28:59 +00:00
em 7a0d345ca2 Corrected type; forgot closing ". 1985-01-21 12:14:59 +00:00
em 6e192ca1a5 Removed #define IDFIRST because fmt_id() replaces it. 1985-01-21 12:09:44 +00:00
em 24f8685ceb Initial revision 1985-01-18 16:06:21 +00:00
em 8170b48dba 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 ce159743de Changed label generators and added fmt_id(). 1985-01-18 15:36:51 +00:00
em 6143ed2504 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 1e38cfaf5a Initial revision 1985-01-18 14:30:03 +00:00
bal ab3a49f087 Initial revision 1985-01-18 09:59:09 +00:00
garde ecdace453e Initial revision 1985-01-17 14:31:34 +00:00
duk 4aa42e3c2b Initial revision 1985-01-17 14:20:52 +00:00
em 48edb88fe6 Checking in Martin's changes. 1985-01-17 14:10:27 +00:00
keie f4fe5f16e9 Added some documentation for the interface between C and Pascal.
This was necessary because the format of Pascal and C procedure
pointers differ from now on.
1985-01-17 13:22:49 +00:00
keie 755173396c Added the test program for the C<=>Pascal interface. 1985-01-17 12:43:51 +00:00
keie 2beb7f0ab9 *** empty log message *** 1985-01-17 12:43:04 +00:00
bal 44d3516be2 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 ab8f584c8c Bug fixed: a0 is changed by call to _brk, so it should be saved & restored. 1985-01-17 10:33:23 +00:00
keie d32a6c818d Added RCS id. 1985-01-11 17:03:53 +00:00
keie 589a92b3eb 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 bf3cd69641 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 25e6cb1de9 Added RCS id. 1985-01-11 16:28:30 +00:00
keie 20fc06c5dc The previous fix produced an array in which the values were one off.
This has been fixed.
1985-01-11 13:42:51 +00:00
keie 832ec1a9a7 *** empty log message *** 1985-01-11 13:20:36 +00:00
keie 78bd26211d The recursive call of setp1 initialized elements 0...ASIZE.
This is out of bounds and now altered into 0..ASIZE-1.
1985-01-11 13:17:26 +00:00
keie b20e6856b6 *** empty log message *** 1985-01-11 13:13:56 +00:00
sater ff89603e82 RREMOVE section updated. 1985-01-11 09:44:34 +00:00
sater 266e0429ef extra define added to aid in generation of DO_RREMOVE 1985-01-11 09:42:17 +00:00
sater b29271a7d1 code was added to generate DO_RREMOVE 1985-01-11 09:41:47 +00:00
sater 10188dfba9 code was added to cause generation of DO_RREMOVE in some cases 1985-01-11 09:41:13 +00:00
sater 684e24132a diffs were applied to make default register property at stacking rule
-1 instead of 0.
1985-01-11 09:40:40 +00:00
sater 14ff4bda29 Optional register property in stacking rules must be -1 when absent.
Fixed this.
1985-01-10 16:30:09 +00:00
duk 2118ece784 Maybe some minor changes. 1985-01-10 13:35:39 +00:00
duk d1870dd6cf Added call to trap signals. 1985-01-10 13:24:36 +00:00
duk c0f8361e8c Header and section table now allocated statically. 1985-01-10 13:22:04 +00:00
duk a885e7f981 Inline expansion of index_adjust() and compute_origins().
Section table now allocated statically.
1985-01-10 13:19:47 +00:00
duk cc778299af Added routine to check signals. 1985-01-10 13:17:22 +00:00
sater 8246648f18 *** empty log message *** 1985-01-08 15:34:54 +00:00
sater e204e2e7cf Initial revision 1985-01-08 15:28:26 +00:00
keie f8fc7e5ab4 *** empty log message *** 1985-01-08 13:52:58 +00:00
duk cef3df332e Added provisions for copying everything after the string area into the
resulting object file. Because this is most likely symbolic debugging
information, these are parametrized by #ifdef SYMDBUG.
1985-01-08 11:54:57 +00:00
keie ef9e36ad74 *** empty log message *** 1985-01-08 11:48:43 +00:00
sater b9804696fe *** empty log message *** 1985-01-08 09:59:28 +00:00
keie 78b124fd57 *** empty log message *** 1985-01-07 15:54:38 +00:00
keie db9b60ff8c *** empty log message *** 1985-01-07 15:43:50 +00:00
keie fa5eb3feba *** empty log message *** 1985-01-07 14:39:27 +00:00
keie 556a2d039a *** empty log message *** 1985-01-07 14:26:46 +00:00
keie bfab17b353 *** empty log message *** 1985-01-07 14:15:47 +00:00
keie 9dcce61d84 *** empty log message *** 1985-01-07 13:57:25 +00:00
keie a52e067a38 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 62ae0a54c3 *** empty log message *** 1985-01-07 13:49:31 +00:00
keie 23d1cba365 *** empty log message *** 1985-01-07 13:37:12 +00:00
keie 98df00c0dd *** empty log message *** 1985-01-07 13:08:48 +00:00
sater c5267505f9 Initial revision 1985-01-04 14:05:25 +00:00
sater 4b109aa39c added entries for cg,ncg and cgg 1985-01-04 14:04:10 +00:00