diff options
author | Robert de Bath <rdebath@poboxes.com> | 1996-05-31 21:33:17 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-23 23:30:46 +0200 |
commit | e85ee07172eccafd9441362e774f7b184810d008 (patch) | |
tree | 5dc12259ab7a61b12d9df284fe58ad5cb312c526 /as | |
parent | dcc973ea3e31710429858c99d4f040334ac67c06 (diff) | |
download | dev86-e85ee07172eccafd9441362e774f7b184810d008.tar.gz |
Import Dev86-0.0.6.tar.gzv0.0.6
Diffstat (limited to 'as')
-rw-r--r-- | as/TODO | 14 | ||||
-rw-r--r-- | as/as.c | 5 | ||||
-rwxr-xr-x | as/chk | 2 | ||||
-rw-r--r-- | as/todo | 14 |
4 files changed, 20 insertions, 15 deletions
@@ -1 +1,15 @@ 6809/const.h is out of date. +Check why `chk' fails. + +Update 6809/const.h. + +Produce bsd symbol tables. + +Accept gas format. + +Decide how to choose between 8-bit and 32-bit branches. 16-bit branches in +32-bit mode are unusable because top 16 bits of PC are messed up. + +Limit insns to specified processor (warn for 386 insns on 8086). + +Buffer for printing of listing. @@ -25,6 +25,10 @@ unsigned strlen P((const char *s)); #include <string.h> #endif +#ifdef MSDOS +#include <sys/types.h> +#include <fcntl.h> +#else #ifdef POSIX_HEADERS_MISSING int close P((int fd)); int creat P((const char *path, int mode)); @@ -34,6 +38,7 @@ int write P((int fd, const void *buf, unsigned nbytes)); #include <fcntl.h> #include <unistd.h> #endif +#endif PUBLIC char hexdigit[] = "0123456789ABCDEF"; /* XXX - ld uses lower case */ @@ -1,7 +1,7 @@ for i in `ls asm/*.asm` do j=`basename $i .asm` - ./as asm/$j.asm -b $j.bin -o $j.obj > /dev/null + as86 asm/$j.asm -b $j.bin -o $j.obj > /dev/null cmp $j.bin bin/$j.bin cmp $j.obj obj1/$j.obj rm $j.bin $j.obj diff --git a/as/todo b/as/todo deleted file mode 100644 index e85cb6c..0000000 --- a/as/todo +++ /dev/null @@ -1,14 +0,0 @@ -Check why `chk' fails. - -Update 6809/const.h. - -Produce bsd symbol tables. - -Accept gas format. - -Decide how to choose between 8-bit and 32-bit branches. 16-bit branches in -32-bit mode are unusable because top 16 bits of PC are messed up. - -Limit insns to specified processor (warn for 386 insns on 8086). - -Buffer for printing of listing. |