| 1 | // ACME - a crossassembler for producing 6502/65c02/65816/65ce02 code. |
| 2 | // Copyright (C) 1998-2024 Marco Baye |
| 3 | // Have a look at "acme.c" for further info |
| 4 | // |
| 5 | // mnemonic definitions |
| 6 | #ifndef mnemo_H |
| 7 | #define mnemo_H |
| 8 | |
| 9 | |
| 10 | #include "config.h" |
| 11 | |
| 12 | |
| 13 | // check whether mnemonic in GlobalDynaBuf is supported by standard 6502 cpu. |
| 14 | extern boolean keyword_is_6502_mnemo(int length); |
| 15 | |
| 16 | // check whether mnemonic in GlobalDynaBuf is supported by NMOS 6502 cpu (includes undocumented opcodes). |
| 17 | extern boolean keyword_is_nmos6502_mnemo(int length); |
| 18 | |
| 19 | // check whether mnemonic in GlobalDynaBuf is supported by C64DTV2 cpu. |
| 20 | extern boolean keyword_is_c64dtv2_mnemo(int length); |
| 21 | |
| 22 | // check whether mnemonic in GlobalDynaBuf is supported by 65C02 cpu. |
| 23 | extern boolean keyword_is_65c02_mnemo(int length); |
| 24 | |
| 25 | // check whether mnemonic in GlobalDynaBuf is supported by Rockwell 65C02 cpu. |
| 26 | extern boolean keyword_is_r65c02_mnemo(int length); |
| 27 | |
| 28 | // check whether mnemonic in GlobalDynaBuf is supported by WDC 65C02 cpu. |
| 29 | extern boolean keyword_is_w65c02_mnemo(int length); |
| 30 | |
| 31 | // check whether mnemonic in GlobalDynaBuf is supported by 65816 cpu. |
| 32 | extern boolean keyword_is_65816_mnemo(int length); |
| 33 | |
| 34 | // check whether mnemonic in GlobalDynaBuf is supported by CSG 65CE02 cpu. |
| 35 | extern boolean keyword_is_65ce02_mnemo(int length); |
| 36 | |
| 37 | // check whether mnemonic in GlobalDynaBuf is supported by CSG 4502 cpu. |
| 38 | extern boolean keyword_is_4502_mnemo(int length); |
| 39 | |
| 40 | // check whether mnemonic in GlobalDynaBuf is supported by MEGA65 cpu. |
| 41 | extern boolean keyword_is_m65_mnemo(int length); |
| 42 | |
| 43 | |
| 44 | #endif |