Commit graph

42 commits

Author SHA1 Message Date
George Koehler a434749fd9 Widen valu_t in the assembler to 64 bits.
Most machines had undefined valu_t and redefined it to a different
type.  Edit mach/*/as/mach0.c to remove such redefinitions, so the
next change to valu_t will affect all machines.

Edit mach/proto/as/comm0.h to change valu_t to int64_t, and add
uvalu_t and uint64_t.

Remove int64_t y_valu8 from the yacc %union, now that valu_t y_valu
can hold 64 bits.  Replace y_valu8 with y_valu.  The .data8 pseudo
becomes less special; it now accepts absolute expressions.

This change simplifies the assembler and seems to have no effect on
the assembled output.  Among the files in share/ack/examples, the only
changes are in hilo_bas.* and startrek_c.linuxppc, but those files
seem to change whenever I rebuild them.
2019-10-04 18:58:56 -04:00
carl 9bb69bbb98 Fix several compiler warnings by adding braces 2019-05-14 23:21:19 +08:00
carl 98c5d1f0ee Add function prototypes. 2019-03-25 00:11:31 +08:00
David Given fd91851005 Add enough return types to the K&R C that the ACK builds (on Linux) using clang
now.
2016-11-10 22:04:18 +01:00
David Given f67c98e239 Distributions are a pain --- let's not bother any more. Instead, we just tag
the repository and download a complete snapshot, old and ancient stuff and all.
2016-09-02 23:00:38 +02:00
George Koehler 0131ca4d46 Delete 689 undead files.
These files "magically reappeared" after the conversion from CVS to
Mercurial.  The old CVS repository deleted these files but did not
record *when* it deleted these files.  The conversion resurrected these
files because they have no history of deletion.  These files were
probably deleted before year 1995.  The CVS repository begins to record
deletions around 1995.

These files may still appear in older revisions of this Mercurial
repository, when they should already be deleted.  There is no way to fix
this, because the CVS repository provides no dates of deletion.

See http://sourceforge.net/mailarchive/message.php?msg_id=29823032
2012-09-20 22:26:32 -04:00
ceriel 740f1d5f75 fix in cmpxchg instruction; i486 book is wrong 1996-04-25 08:38:05 +00:00
ceriel 8b3437dd24 Fix: setxx instructions should only accept byte registers 1995-09-12 12:08:42 +00:00
ceriel 6cec9aca97 Header --> Id && bug fix 1994-06-24 07:25:30 +00:00
ceriel 11682328eb get section alignments right 1994-01-14 11:42:01 +00:00
ceriel 537cbd3d89 Fixed bug: REP resulted in 0xF2 instead of 0xF3 1992-10-12 17:25:15 +00:00
ceriel be227c5f88 Several fixes and addition of 80486 instructions 1992-09-16 16:10:30 +00:00
ceriel 94ec8e495e Fixed ARPL instruction 1992-09-07 14:13:11 +00:00
ceriel da17ca5a9f Fixed bug: imulb was given wrong opcode 1992-08-31 15:23:59 +00:00
ceriel 0c59e2e12d Prevent name clashes with sys/types.h on system V 1991-12-16 15:24:24 +00:00
ceriel 3168ce61ae New installation mechanism 1991-08-28 12:02:16 +00:00
ceriel 0d65b92220 removed -i flag 1991-02-19 16:57:39 +00:00
ceriel 5aa72b23cf corrected small ommission 1991-01-10 13:57:29 +00:00
ceriel 91ee73faa3 made Makefile more portable 1990-11-27 16:51:58 +00:00
ceriel 06e6c8638f fix: addr_t must be long 1990-10-05 16:31:55 +00:00
ceriel e3bb56818b fix INS and INSB 1990-09-21 14:24:03 +00:00
ceriel 094c19f350 Added JC and JNC (aliases for JB and JNB) 1990-09-20 14:18:52 +00:00
ceriel 9eaa440fab removed DEBUG #define 1990-05-31 13:33:31 +00:00
ceriel fb25b628d6 yet another bug fix in instructions handling special registers 1990-04-23 12:35:41 +00:00
ceriel 71156a48ae Fixed 16-bit address mode bugs 1990-03-19 14:46:55 +00:00
ceriel 2c7496a525 Added 16-bit mode 1990-03-12 16:24:58 +00:00
ceriel 6e0c2ad593 Added arpl instruction 1990-03-09 11:07:43 +00:00
ceriel 8bfbe723db bug fix: far calls+jumps with address prefix were wrong 1990-02-19 09:06:16 +00:00
ceriel 9b1f6614f6 some optimizations were not protected by calls to small() 1990-01-24 12:37:33 +00:00
ceriel 89b736ba83 Added mechanism to warn correctly about conflicts 1990-01-19 16:05:44 +00:00
ceriel 776f85238f bug fix: cannot optimize IMUL 1990-01-10 11:23:45 +00:00
ceriel 0e2861d8b0 Added 80[23]87 support 1989-11-29 09:49:35 +00:00
ceriel e713e6f8fe many fixes, found by actually running the code it produces 1989-10-10 10:54:20 +00:00
ceriel a13ea6d098 fix in IMUL, define DEBUG 1 1989-02-07 14:30:47 +00:00
ceriel 3a546eb8dd be a bit more liberal with prefixes 1989-01-24 13:51:05 +00:00
ceriel 57dfee488a Added .distr 1989-01-19 16:26:18 +00:00
ceriel 6833adfb50 Initial revision 1989-01-19 16:20:46 +00:00
ceriel 87c67b8c5f EM --> EMHOME 1987-06-30 18:20:25 +00:00
ceriel 6d0a4a9ce0 changed directory: nas --> as 1987-02-09 16:29:15 +00:00
ceriel b44e39cce8 Version that uses libobject.a. 1986-12-01 15:35:28 +00:00
keie 177af75c93 *** empty log message *** 1985-05-13 11:19:24 +00:00
keie 772b64fabd *** empty log message *** 1985-04-12 16:56:43 +00:00