Commit graph

8259 commits

Author SHA1 Message Date
keie 93672962a1 The name "unix" is now predefined for preprocessor usage. 1984-08-02 14:13:04 +00:00
sater afc577b6c7 When building the parameter list for a pf-call, the line number
for the exchanges war remembered at the wrong time.
This caused:
	foo(3,'string')
to cause an external identifier for the string. Fixed.
1984-07-31 09:39:35 +00:00
keie fe922d190d String initializer handling is changed.
Strings are now considered to be sequences of xU1's.
No alignment is done before or after the string other than the
alignment done for names and segment type switches.
1984-07-30 14:42:33 +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 d90f26a8c5 added rcsid 1984-07-27 10:28:48 +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 c2f383773d added copyright notice 1984-07-20 13:54:36 +00:00
sater ebc7a50d8f added rcsid
adapted to new archive updating style, with LIST and march and all that
1984-07-20 11:32:47 +00:00
sater 98c1d6868f Initial revision 1984-07-20 11:25:31 +00:00
sater c99e75a01b added rcsid 1984-07-20 11:25:18 +00:00
sater bb4210de79 added copyright notice 1984-07-20 11:20:12 +00:00
sater b410ca7f8c removed copyright notice, wasn't really *written* by us. 1984-07-20 11:07:12 +00:00
sater 25a8908e26 added rcsid 1984-07-20 11:03:31 +00:00
sater 597d25decd Initial revision 1984-07-20 10:44:57 +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 3b991bd1ce Archive made with archiver in environment ASAR if set, arch otherwise 1984-07-19 14:55:12 +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 8483d153f2 changed name from comparchentry to compmodule 1984-07-19 13:22:36 +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
sater 1eade4ac9d Initial revision 1984-07-19 11:50:18 +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 2943d957bb The patterns to change a cii to cuu when dealing with a known positive
quantity was technically wrong. Changed to generate a cui.
1984-07-18 15:54:25 +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