1990-11-12 15:29:14 +00:00
|
|
|
/* $Header; mach0.c, v1.2 06-Mar-89 AJM */
|
1988-11-07 09:24:36 +00:00
|
|
|
|
1988-02-18 09:20:09 +00:00
|
|
|
#define LISTING
|
|
|
|
#define ASLD
|
|
|
|
#define THREE_PASS
|
1990-11-12 15:29:14 +00:00
|
|
|
#define DEBUG 0
|
|
|
|
/*
|
1988-11-07 09:24:36 +00:00
|
|
|
#define WORDS_REVERSED
|
|
|
|
#define BYTES_REVERSED
|
1990-11-12 15:29:14 +00:00
|
|
|
*/
|
1988-02-18 09:20:09 +00:00
|
|
|
#undef valu_t
|
|
|
|
#define valu_t long
|
|
|
|
|
|
|
|
#undef addr_t
|
|
|
|
#define addr_t long
|
|
|
|
|
|
|
|
#undef word_t
|
|
|
|
#define word_t long
|
|
|
|
|
|
|
|
#undef ALIGNWORD
|
|
|
|
#define ALIGNWORD 4
|
|
|
|
|
|
|
|
#undef ALIGNSECT
|
|
|
|
#define ALIGNSECT 4
|
|
|
|
|
|
|
|
#undef VALWIDTH
|
|
|
|
#define VALWIDTH 8
|
|
|
|
|
|
|
|
#define S_REG 0xF
|
|
|
|
#define S_NUM 0x8
|
|
|
|
|
|
|
|
#define ADC 0x00A00000
|
|
|
|
#define ADD 0x00800000
|
|
|
|
#define AND 0x00000000
|
|
|
|
#define BIC 0x01C00000
|
|
|
|
#define EOR 0x00200000
|
|
|
|
#define ORR 0x01800000
|
|
|
|
#define RSB 0x00600000
|
|
|
|
#define RSC 0x00E00000
|
|
|
|
#define SBC 0x00C00000
|
|
|
|
#define SUB 0x00400000
|
|
|
|
#define MOV 0x01A00000
|
|
|
|
#define MVN 0x01E00000
|
|
|
|
#define CMN 0x01700000
|
|
|
|
#define CMP 0x01500000
|
|
|
|
#define TEQ 0x01300000
|
|
|
|
#define TST 0x01100000
|
1990-11-12 15:29:14 +00:00
|
|
|
#define LDR 0x04100000
|
|
|
|
#define STR 0x04000000
|
1988-02-18 09:20:09 +00:00
|
|
|
|