8e154eb826
Many, many improvements made, ususually small ones. For example: many em-patterns have got alternative code-rules.
garde1985-02-01 12:51:56 +00:00
ca219d89e9
Now using ../../proto/libg/Makefile.
keie1985-02-01 12:38:08 +00:00
26999bb517
To avoid conflict while compiling with acc itself the word size of the target machine is now defined as TEM_WSIZE.
keie1985-02-01 12:32:46 +00:00
103659cd7b
Added an entry to create a doc.pr suitable for printing on a straightforward line printer.
keie1985-01-31 22:38:00 +00:00
626ae9760f
Added a reference to MES 11 in 11.1.4.4 at the non-local goto.
keie1985-01-31 15:15:20 +00:00
dcd8451347
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.
keie1985-01-31 15:10:16 +00:00
882906b3c3
Added a few sentences about the capability of ack to preprocess Pascal programs and one restriction that imposes on programs using it.
keie1985-01-31 14:50:15 +00:00
f586956618
Zero is deleted as a possible argument to LOI and STI. Allowing that was an oversight.
keie1985-01-31 14:03:56 +00:00
6459b0bf5f
Zero is deleted as a possible argument to LOI and STI. Allowing that was an oversight.
keie1985-01-31 13:58:09 +00:00
1f56b2aa4c
1 - Changed incorrect execution line for callc/modc 2 - Added several sources to 'pr' entry, for printing.
keie1985-01-31 10:53:59 +00:00
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.
bal1985-01-30 16:34:14 +00:00
b99ce86e16
register save costs changed: they are now linearly dependent on the number of registers to be saved (for time).
bal1985-01-30 15:43:02 +00:00
bec394f7bd
Entry for LOI changed from CLASS1 to CLASS12.
bal1985-01-30 14:49:03 +00:00
db19d06f61
CLASS12 added for the LOI instruction. A "LOI n", n < wordsize, loads wordsize bytes, not n bytes.
bal1985-01-30 14:47:49 +00:00
e936aea1e1
Added -DCPM to the flags.
ceriel1985-01-30 12:37:10 +00:00
31eab814f2
Debugging procedure print_allocs now writes to stderr.
bal1985-01-30 10:52:33 +00:00
7f9dd27dc8
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.
bal1985-01-30 10:47:47 +00:00
387191a2c7
bug fixed: oldmap(lmap,llength) was sometimes called when no new map had to be allocated for the current (data-) unit.
bal1985-01-28 11:38:06 +00:00
cf3d3ad287
Also remove all *.e and *.d files when cleaning up.
em1985-01-25 16:19:13 +00:00
1bc30e42eb
Strings in rom are initialized with usage count 9999. decstr does not touch these at all.
keie1985-01-25 14:40:51 +00:00
e271d9bbb8
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.
keie1985-01-25 14:34:50 +00:00
a49f2d23f7
Number of address registers decreased from 5 to 4.
bal1985-01-25 13:24:12 +00:00
3c5d3c55af
Added an entry called distr. This make the formatted install.pr to be put on the distribution tape.
keie1985-01-25 11:28:55 +00:00
6d344b6702
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.
keie1985-01-25 11:04:18 +00:00
8fa5a7b668
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.
keie1985-01-25 09:57:04 +00:00
d12fef6c05
The non-flag arguments are now passed by position. The order is : (bem) input output program-name.
keie1985-01-25 09:55:28 +00:00
ed1ee8a3b4
Removed test18 because it is in essence a busy loop.
em1985-01-24 22:34:31 +00:00
3bb153d6bb
Added executable files to list of those to cleanup.
em1985-01-24 21:27:32 +00:00
df08133a04
Added entry "clean" for cleanup.
em1985-01-24 21:25:57 +00:00
102c316142
Re-introduced the possibility of a Varying EM_BSIZE this to be able to use the latest STABLE m68k2 backend. All this until the newest m68k2 version has been tested.
keie1985-01-24 16:59:06 +00:00
f92167796a
Added the possibility to have a varying EM_BSIZE as a tempoarary measure, to be deleted as soon as the m68k2 back-end is tested again.
keie1985-01-24 16:51:26 +00:00
cac6ffd8c2
ovfl_harmful and arrbound_harmful turned into ints
bal1985-01-23 16:25:29 +00:00
d32d4e6ba0
Interface of tmplocal() changed: second parameter is a long now
bal1985-01-23 16:23:15 +00:00
5cad6f6aa7
interface with tmplocal() changed: second parameter is a long now.
bal1985-01-23 16:18:33 +00:00
e46c49e291
bug fixed in get_instrs(): instr should be an int rather than a Celem_t.
bal1985-01-23 16:16:49 +00:00
5a95c31414
bug fixed in last_mnem(): test on nil-pointer. bug fixed in try_tail(): add line "if(l1==0||l2==0) return FALSE".
bal1985-01-23 16:13:57 +00:00
f487f26e00
bug fixed in last_line() : assert(l!=0) should be assert(lines!=0).
bal1985-01-23 16:12:21 +00:00
e95492dfb0
bug fixed in routine get_ca_lines(): test on nil-pointer.
bal1985-01-23 16:10:43 +00:00
fefe15a844
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.
bal1985-01-23 16:07:09 +00:00
3d2c33e277
rules for itemtab.h and makeitems added.
bal1985-01-23 15:50:17 +00:00
2ea3be322d
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".
bal1985-01-23 15:45:58 +00:00
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.
garde1985-01-22 19:55:11 +00:00
ea337060ec
User defined trap handling routine is called with calls instruction. A message is printed if there is no routine at all.
em1985-01-22 15:20:19 +00:00
33c81637db
Added `movl r3,ap' to restore the argument pointer before returning vi jmp (r0).
em1985-01-22 13:10:35 +00:00
8bdec01d71
Now using opder recommanded by 'lorder'.
em1985-01-22 02:17:13 +00:00
7556180ab3
Printf does not return a truth value for failure. These -incorrect- tests were replaced by calls to ferror.
keie1985-01-21 23:58:07 +00:00
09000449a4
Added declaration of _newstr.
keie1985-01-21 23:57:44 +00:00
68644410fb
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.
keie1985-01-21 23:56:10 +00:00
c2e988c3d5
1 - Changed argument from int to unsigned. 2 - The test for a failed malloc is changed from comparison to -1 to comparison to 0.
keie1985-01-21 23:54:46 +00:00
d4a597912f
Tests for EOF returned by stdio routines need the full int width.
keie1985-01-21 23:53:41 +00:00
682e5d9b8a
Removed casts made superfluous by adding newstr to string.h
keie1985-01-21 23:53:01 +00:00
f7027ba7e4
Test for EOF returned by stdio routines have to use the full int width.
keie1985-01-21 23:52:19 +00:00
52a627589a
Removed cast made superfluous by added newstr to string.h
keie1985-01-21 23:51:33 +00:00
5fc9fdf795
Added test for outcome of request for more core. If no more core is available a fatal error message is produced.
keie1985-01-21 23:48:06 +00:00
08c8edf314
Changed #define's of newlbss of cst_fmt.
em1985-01-21 16:40:02 +00:00
603f82a578
Bug fix: redefined a Local local causing an INTERNAL ERROR from as.
em1985-01-21 15:49:22 +00:00
8f81c858f8
Due to an 8 character identifier length limitation the identifier "strcompare" is changed into "strcomp".
keie1985-01-21 14:52:34 +00:00
6a21488f0c
Due to an 8 character identifiers limitation calls in EM the identifier "randomize" was changed into "randomi".
keie1985-01-21 14:51:29 +00:00
374ac8b21c
Due to an 8 character identifiers limitation on EM calls to "setchannel" were changed into "setchan" and the identifier "seektable" is replaced by "seektab".
keie1985-01-21 14:50:12 +00:00
770f321ea8
Changed calls to "setrandom" into calls to "setrand" and calls to "randomize" inro calls to "randomi" to avoid problems with routines compiled by C.
keie1985-01-21 14:48:16 +00:00
decda89fba
Added a few /*NOSTRICT*/ comments to indicate awareness of lint complaints.
keie1985-01-21 14:30:55 +00:00
ff46181ae0
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.
keie1985-01-21 14:26:29 +00:00
dbb0d46ac2
1 - Added comment to indicate awareness of lint complaints. 2 - Added/Removed some casts used with core allocation/deallocation.
keie1985-01-21 14:23:49 +00:00
d53ef52028
Changed the argument of salloc from an int into an unsigned. Just to shut up lint.
keie1985-01-21 14:22:07 +00:00
a91ff9e04b
Added a declaration of gosublabel.
keie1985-01-21 14:21:52 +00:00
56a8cd53b6
Added a few comments to indicate awareness of lint complaints.
keie1985-01-21 14:20:11 +00:00
0c2aee4835
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.
keie1985-01-21 14:18:47 +00:00
cd78a1a27a
case 8 and case 6 deleted in switch of function 'prolog'
garde1985-01-21 14:17:11 +00:00
309bbef3ea
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.
keie1985-01-21 14:15:06 +00:00
71cbd2c92f
1 added lint entry. 2 changed calls to cc into $(CC)
keie1985-01-21 14:14:22 +00:00
cb49888304
To have a file preprocessed, it must start with a # in column o1. The RCSid is replaced to accomplish this.
em1985-01-21 12:56:09 +00:00
9479f61318
Now using correct RCS identification
em1985-01-21 12:47:04 +00:00
8d02182e12
Renaming due to 8 character C compiler limit.
em1985-01-21 12:37:26 +00:00
aef211ad4e
Used a correct definition of malloc.
em1985-01-21 12:35:53 +00:00
a33d0e8e14
Replaced RCSid so that file starts with # in column 0 so it gets preprocessed.
em1985-01-21 12:28:59 +00:00
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.
em1985-01-18 15:39:07 +00:00
a4ca3054f0
Changed label generators and added fmt_id().
em1985-01-18 15:36:51 +00:00
10ce06ff2b
Routines are called with calls instead of jsb. EM_BSIZE is required to be a constant.
em1985-01-18 15:33:44 +00:00