You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
142 lines
2.5 KiB
142 lines
2.5 KiB
/* asmerrtb.c -- microsoft 80x86 assembler
|
|
**
|
|
** microsoft (r) macro assembler
|
|
** copyright (c) microsoft corp 1986. all rights reserved
|
|
**
|
|
** randy nevin
|
|
**
|
|
** 10/90 - Quick conversion to 32 bit by Jeff Spencer
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
#include "asm86.h"
|
|
#include "asmfcn.h"
|
|
#include "asmmsg.h"
|
|
|
|
/* error message table - on 8086 it is in a far segment */
|
|
|
|
char FAR *messages[E_MAX] = { NULL, };
|
|
short FAR msgnum[] = { /* this table must be in the same order as the
|
|
error codes in asm86.h */
|
|
0,
|
|
ER_BNE,
|
|
ER_ECL,
|
|
ER_RAD,
|
|
ER_UST,
|
|
ER_RSY,
|
|
ER_SMD,
|
|
ER_PHE,
|
|
ER_ELS,
|
|
ER_NCB,
|
|
ER_SND,
|
|
ER_SYN,
|
|
ER_TIL,
|
|
ER_NGR,
|
|
ER_PS1,
|
|
ER_TUL,
|
|
ER_SDK,
|
|
ER_RES,
|
|
ER_IFR,
|
|
ER_MBR,
|
|
ER_WRT,
|
|
ER_MSG,
|
|
0,
|
|
ER_MSY,
|
|
ER_ALD,
|
|
ER_SPC,
|
|
ER_NPA,
|
|
ER_RMD,
|
|
ER_OPN,
|
|
ER_OPR,
|
|
ER_DV0,
|
|
ER_SCN,
|
|
ER_OMM,
|
|
ER_IUE,
|
|
0,
|
|
ER_RRF,
|
|
ER_OHS,
|
|
ER_NOP,
|
|
0,
|
|
ER_LOS,
|
|
ER_OOC,
|
|
ER_OSA,
|
|
0,
|
|
ER_CXP,
|
|
ER_OSG,
|
|
ER_ASD,
|
|
ER_ASC,
|
|
ER_DBR,
|
|
ER_DIR,
|
|
ER_IBR,
|
|
ER_IUR,
|
|
ER_VOR,
|
|
ER_NIP,
|
|
ER_IOT,
|
|
ER_JOR,
|
|
0,
|
|
ER_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