diff options
author | Robert de Bath <rdebath@poboxes.com> | 2012-08-13 22:10:14 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-23 23:48:50 +0200 |
commit | 5b6aee2a90b337856aa23fd24a4637f488929ed0 (patch) | |
tree | 10d49ef991ff9fa563f71a9fd022614ddeea5fe6 /as | |
parent | dddc44a59e3e393d5440a06e2b0535aeb1304f77 (diff) | |
download | dev86-5b6aee2a90b337856aa23fd24a4637f488929ed0.tar.gz |
Import Dev86src-0.16.19.tar.gzv0.16.19
Diffstat (limited to 'as')
-rw-r--r-- | as/errors.h | 5 | ||||
-rw-r--r-- | as/mops.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/as/errors.h b/as/errors.h index ad1b57f..ac26b6d 100644 --- a/as/errors.h +++ b/as/errors.h @@ -1,3 +1,6 @@ + +#ifndef _H_ERRORS +#define _H_ERRORS /* Error codes. */ /* Syntax errors. */ @@ -103,3 +106,5 @@ EXTERN char UNSTABLE_LABEL[]; /* "label moved in last pass add -O?" */ /* Warnings. */ EXTERN char CPUCLASH[]; /* "instruction illegal for current cpu" */ EXTERN char SHORTB[]; /* "short branch would do" */ + +#endif @@ -2172,6 +2172,7 @@ PUBLIC void mpushpop() } else { + needcpu(1); /* On 8086 PUSH does not allow immediate */ opcode = 0x68; if (oldopcode == POP_OPCODE) ++opcode; |