em [Tue, 5 Feb 1985 14:52:02 +0000 (14:52 +0000)]
Copied from vax2, takes its info on which files
to use in which order from LIST.
em [Tue, 5 Feb 1985 14:51:17 +0000 (14:51 +0000)]
This one is made with lorder|tsort.
em [Tue, 5 Feb 1985 14:50:24 +0000 (14:50 +0000)]
The first one, Duk's order.
em [Tue, 5 Feb 1985 11:44:40 +0000 (11:44 +0000)]
Now fetching sedf from this directory instead of
from the cg source directory.
keie [Mon, 4 Feb 1985 22:18:16 +0000 (22:18 +0000)]
Placed the include files in {EM_HOME}/h/bc_.....
keie [Mon, 4 Feb 1985 14:31:17 +0000 (14:31 +0000)]
*** empty log message ***
keie [Mon, 4 Feb 1985 14:26:13 +0000 (14:26 +0000)]
*** empty log message ***
keie [Mon, 4 Feb 1985 02:53:18 +0000 (02:53 +0000)]
Prevent the existence of pem2[24].p to frustate the ln and thus
the whole exercise.
keie [Sun, 3 Feb 1985 23:50:51 +0000 (23:50 +0000)]
Added an entry "distr" to make tables1.c and tables1.h.
keie [Sun, 3 Feb 1985 23:23:50 +0000 (23:23 +0000)]
The creation of the library is now done by the process of creating
the distribution directory.
keie [Sun, 3 Feb 1985 23:21:24 +0000 (23:21 +0000)]
Tail_em.s.a is now extracted from the RCS directory by the
distribution making process in em/distr2.
keie [Sun, 3 Feb 1985 23:18:06 +0000 (23:18 +0000)]
The effect of the .distr entry is now done by the
mktree process from /usr/em/distr2.
em [Sat, 2 Feb 1985 18:06:37 +0000 (18:06 +0000)]
Added libmon to libraries to be translated.
em [Fri, 1 Feb 1985 22:12:31 +0000 (22:12 +0000)]
*** empty log message ***
garde [Fri, 1 Feb 1985 12:51:56 +0000 (12:51 +0000)]
Many, many improvements made, ususually small ones.
For example: many em-patterns have got alternative code-rules.
keie [Fri, 1 Feb 1985 12:38:08 +0000 (12:38 +0000)]
Now using ../../proto/libg/Makefile.
keie [Fri, 1 Feb 1985 12:32:46 +0000 (12:32 +0000)]
To avoid conflict while compiling with acc itself the word
size of the target machine is now defined as TEM_WSIZE.
keie [Thu, 31 Jan 1985 22:38:00 +0000 (22:38 +0000)]
Added an entry to create a doc.pr suitable for printing
on a straightforward line printer.
keie [Thu, 31 Jan 1985 15:15:20 +0000 (15:15 +0000)]
Added a reference to MES 11 in 11.1.4.4 at the non-local goto.
keie [Thu, 31 Jan 1985 15:10:16 +0000 (15:10 +0000)]
1- Zero is deleted as a possible argument to LOI and STI.
Allowing that was an oversight.
2- Message number 10 is reserved for global optimizer output.
3- Message number 11 must be used by GTO destinations.
keie [Thu, 31 Jan 1985 14:50:15 +0000 (14:50 +0000)]
Added a few sentences about the capability of ack to
preprocess Pascal programs and one restriction that imposes
on programs using it.
keie [Thu, 31 Jan 1985 14:03:56 +0000 (14:03 +0000)]
Zero is deleted as a possible argument to LOI and STI.
Allowing that was an oversight.
keie [Thu, 31 Jan 1985 13:58:09 +0000 (13:58 +0000)]
Zero is deleted as a possible argument to LOI and STI.
Allowing that was an oversight.
keie [Thu, 31 Jan 1985 10:53:59 +0000 (10:53 +0000)]
1 - Changed incorrect execution line for callc/modc
2 - Added several sources to 'pr' entry, for printing.
bal [Wed, 30 Jan 1985 16:34:14 +0000 (16:34 +0000)]
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.
bal [Wed, 30 Jan 1985 15:43:02 +0000 (15:43 +0000)]
register save costs changed: they are now linearly dependent on
the number of registers to be saved (for time).
bal [Wed, 30 Jan 1985 14:49:03 +0000 (14:49 +0000)]
Entry for LOI changed from CLASS1 to CLASS12.
bal [Wed, 30 Jan 1985 14:47:49 +0000 (14:47 +0000)]
CLASS12 added for the LOI instruction. A "LOI n", n < wordsize,
loads wordsize bytes, not n bytes.
ceriel [Wed, 30 Jan 1985 12:37:10 +0000 (12:37 +0000)]
Added -DCPM to the flags.
bal [Wed, 30 Jan 1985 10:52:33 +0000 (10:52 +0000)]
Debugging procedure print_allocs now writes to stderr.
bal [Wed, 30 Jan 1985 10:47:47 +0000 (10:47 +0000)]
bug fixed: assemble_allocs() did generate whole_procedure allocations.
These allocations were initialized with a very low profit. Consequently
account_regsave rejected these allocations.
Solution: repl_allocs() updates the al_profits field of the
whole_procedure allocation.
bal [Mon, 28 Jan 1985 11:38:06 +0000 (11:38 +0000)]
bug fixed: oldmap(lmap,llength) was sometimes called when no new map
had to be allocated for the current (data-) unit.
em [Fri, 25 Jan 1985 16:19:13 +0000 (16:19 +0000)]
Also remove all *.e and *.d files when cleaning up.
keie [Fri, 25 Jan 1985 14:40:51 +0000 (14:40 +0000)]
Strings in rom are initialized with usage count 9999.
decstr does not touch these at all.
keie [Fri, 25 Jan 1985 14:34:50 +0000 (14:34 +0000)]
Strings in rom are initialized with usage count 9999 i.s.o. 1.
String with that usage count are not touched any way at all.
bal [Fri, 25 Jan 1985 13:24:12 +0000 (13:24 +0000)]
Number of address registers decreased from 5 to 4.
keie [Fri, 25 Jan 1985 11:28:55 +0000 (11:28 +0000)]
Added an entry called distr.
This make the formatted install.pr to be put on the distribution tape.
keie [Fri, 25 Jan 1985 11:04:18 +0000 (11:04 +0000)]
The program name is used to set the name
of the file were the contents of data statements are written.
The filename is extracted from the path and the suffix (if present)
is replaced by .d.
keie [Fri, 25 Jan 1985 09:57:04 +0000 (09:57 +0000)]
The parametrs passed to the call to opnchn when initializing are now
correct string descriptors.
Programs with data statements used to crash with TRAP TYPE 11.
keie [Fri, 25 Jan 1985 09:55:28 +0000 (09:55 +0000)]
The non-flag arguments are now passed by position.
The order is : (bem) input output program-name.
em [Thu, 24 Jan 1985 22:34:31 +0000 (22:34 +0000)]
Removed test18 because it is in essence a busy loop.
em [Thu, 24 Jan 1985 21:27:32 +0000 (21:27 +0000)]
Added executable files to list of those to cleanup.
em [Thu, 24 Jan 1985 21:25:57 +0000 (21:25 +0000)]
Added entry "clean" for cleanup.
keie [Thu, 24 Jan 1985 17:39:54 +0000 (17:39 +0000)]
*** empty log message ***
keie [Thu, 24 Jan 1985 16:16:32 +0000 (16:16 +0000)]
Added ranlib commends.
keie [Thu, 24 Jan 1985 15:34:23 +0000 (15:34 +0000)]
Some minor changes.
em [Thu, 24 Jan 1985 11:34:12 +0000 (11:34 +0000)]
Changed the line numbered 19 into a line numbered 190.
This seemed the correct thing to do.
em [Thu, 24 Jan 1985 11:27:36 +0000 (11:27 +0000)]
*** empty log message ***
bal [Wed, 23 Jan 1985 16:31:51 +0000 (16:31 +0000)]
bug fixed: the "incr" parameter of sbrk() is a 2-byte integer,
not a 4-byte integer.
bal [Wed, 23 Jan 1985 16:28:58 +0000 (16:28 +0000)]
parameter of fscanf changed from "%d" to "%hd" to read a short.
bal [Wed, 23 Jan 1985 16:27:47 +0000 (16:27 +0000)]
core allocation macros added.
bal [Wed, 23 Jan 1985 16:25:29 +0000 (16:25 +0000)]
ovfl_harmful and arrbound_harmful turned into ints
bal [Wed, 23 Jan 1985 16:23:15 +0000 (16:23 +0000)]
Interface of tmplocal() changed: second parameter is a long now
bal [Wed, 23 Jan 1985 16:18:33 +0000 (16:18 +0000)]
interface with tmplocal() changed: second parameter is a long now.
bal [Wed, 23 Jan 1985 16:16:49 +0000 (16:16 +0000)]
bug fixed in get_instrs(): instr should be an int rather than a Celem_t.
bal [Wed, 23 Jan 1985 16:13:57 +0000 (16:13 +0000)]
bug fixed in last_mnem(): test on nil-pointer.
bug fixed in try_tail(): add line "if(l1==0||l2==0) return FALSE".
bal [Wed, 23 Jan 1985 16:12:21 +0000 (16:12 +0000)]
bug fixed in last_line() : assert(l!=0) should be assert(lines!=0).
bal [Wed, 23 Jan 1985 16:10:43 +0000 (16:10 +0000)]
bug fixed in routine get_ca_lines(): test on nil-pointer.
bal [Wed, 23 Jan 1985 16:07:09 +0000 (16:07 +0000)]
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.
bal [Wed, 23 Jan 1985 15:50:17 +0000 (15:50 +0000)]
rules for itemtab.h and makeitems added.
bal [Wed, 23 Jan 1985 15:45:58 +0000 (15:45 +0000)]
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".
garde [Tue, 22 Jan 1985 19:55:11 +0000 (19:55 +0000)]
src1 and src2 extended.
Errors in 'p\ 1at 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.
em [Tue, 22 Jan 1985 15:20:19 +0000 (15:20 +0000)]
User defined trap handling routine is called with calls instruction.
A message is printed if there is no routine at all.
em [Tue, 22 Jan 1985 13:10:35 +0000 (13:10 +0000)]
Added `movl r3,ap' to restore the argument pointer before returning
vi jmp (r0).
em [Tue, 22 Jan 1985 02:17:13 +0000 (02:17 +0000)]
Now using opder recommanded by 'lorder'.
keie [Mon, 21 Jan 1985 23:58:07 +0000 (23:58 +0000)]
Printf does not return a truth value for failure.
These -incorrect- tests were replaced by calls to ferror.
keie [Mon, 21 Jan 1985 23:57:44 +0000 (23:57 +0000)]
Added declaration of _newstr.
keie [Mon, 21 Jan 1985 23:56:10 +0000 (23:56 +0000)]
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.
keie [Mon, 21 Jan 1985 23:54:46 +0000 (23:54 +0000)]
1 - Changed argument from int to unsigned.
2 - The test for a failed malloc is changed from comparison to -1
to comparison to 0.
keie [Mon, 21 Jan 1985 23:53:41 +0000 (23:53 +0000)]
Tests for EOF returned by stdio routines need the full int width.
keie [Mon, 21 Jan 1985 23:53:01 +0000 (23:53 +0000)]
Removed casts made superfluous by adding newstr to string.h
keie [Mon, 21 Jan 1985 23:52:19 +0000 (23:52 +0000)]
Test for EOF returned by stdio routines have to use the full int width.
keie [Mon, 21 Jan 1985 23:51:33 +0000 (23:51 +0000)]
Removed cast made superfluous by added newstr to string.h
keie [Mon, 21 Jan 1985 23:48:06 +0000 (23:48 +0000)]
Added test for outcome of request for more core.
If no more core is available a fatal error message is produced.
em [Mon, 21 Jan 1985 16:40:02 +0000 (16:40 +0000)]
Changed #define's of newlbss of cst_fmt.
em [Mon, 21 Jan 1985 15:49:22 +0000 (15:49 +0000)]
Bug fix: redefined a Local local causing an INTERNAL ERROR from as.
keie [Mon, 21 Jan 1985 14:52:34 +0000 (14:52 +0000)]
Due to an 8 character identifier length limitation the identifier
"strcompare" is changed into "strcomp".
keie [Mon, 21 Jan 1985 14:51:29 +0000 (14:51 +0000)]
Due to an 8 character identifiers limitation calls in EM
the identifier "randomize" was changed into "randomi".
keie [Mon, 21 Jan 1985 14:50:12 +0000 (14:50 +0000)]
Due to an 8 character identifiers limitation on EM calls to
"setchannel" were changed into "setchan" and the identifier
"seektable" is replaced by "seektab".
keie [Mon, 21 Jan 1985 14:48:16 +0000 (14:48 +0000)]
Changed calls to "setrandom" into calls to "setrand" and
calls to "randomize" inro calls to "randomi" to avoid
problems with routines compiled by C.
keie [Mon, 21 Jan 1985 14:30:55 +0000 (14:30 +0000)]
Added a few /*NOSTRICT*/ comments to indicate awareness of lint complaints.
keie [Mon, 21 Jan 1985 14:26:29 +0000 (14:26 +0000)]
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.
keie [Mon, 21 Jan 1985 14:23:49 +0000 (14:23 +0000)]
1 - Added comment to indicate awareness of lint complaints.
2 - Added/Removed some casts used with core allocation/deallocation.
keie [Mon, 21 Jan 1985 14:22:07 +0000 (14:22 +0000)]
Changed the argument of salloc from an int into an unsigned.
Just to shut up lint.
keie [Mon, 21 Jan 1985 14:21:52 +0000 (14:21 +0000)]
Added a declaration of gosublabel.
keie [Mon, 21 Jan 1985 14:20:11 +0000 (14:20 +0000)]
Added a few comments to indicate awareness of lint complaints.
keie [Mon, 21 Jan 1985 14:18:47 +0000 (14:18 +0000)]
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.
garde [Mon, 21 Jan 1985 14:17:11 +0000 (14:17 +0000)]
case 8 and case 6 deleted in switch of function 'prolog'
keie [Mon, 21 Jan 1985 14:15:06 +0000 (14:15 +0000)]
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.
keie [Mon, 21 Jan 1985 14:14:22 +0000 (14:14 +0000)]
1 added lint entry.
2 changed calls to cc into $(CC)
em [Mon, 21 Jan 1985 12:56:09 +0000 (12:56 +0000)]
To have a file preprocessed, it must start with a # in column o1.
The RCSid is replaced to accomplish this.
em [Mon, 21 Jan 1985 12:47:04 +0000 (12:47 +0000)]
Now using correct RCS identification
em [Mon, 21 Jan 1985 12:37:26 +0000 (12:37 +0000)]
Renaming due to 8 character C compiler limit.
em [Mon, 21 Jan 1985 12:35:53 +0000 (12:35 +0000)]
Used a correct definition of malloc.
em [Mon, 21 Jan 1985 12:28:59 +0000 (12:28 +0000)]
Replaced RCSid so that file starts with # in column 0 so it gets preprocessed.
em [Mon, 21 Jan 1985 12:14:59 +0000 (12:14 +0000)]
Corrected type; forgot closing ".
em [Mon, 21 Jan 1985 12:09:44 +0000 (12:09 +0000)]
Removed #define IDFIRST because fmt_id() replaces it.
em [Fri, 18 Jan 1985 16:06:21 +0000 (16:06 +0000)]
Initial revision
em [Fri, 18 Jan 1985 15:39:07 +0000 (15:39 +0000)]
Routines are now called with calls instead of jsb. We use ap as argument
pointer register. EM_BSIZE is required to be a constant.
em [Fri, 18 Jan 1985 15:36:51 +0000 (15:36 +0000)]
Changed label generators and added fmt_id().