2016-12-28 20:32:00 +00:00
|
|
|
// ACME - a crossassembler for producing 6502/65c02/65816/65ce02 code.
|
2020-05-06 11:40:06 +00:00
|
|
|
// Copyright (C) 1998-2020 Marco Baye
|
2012-02-27 21:14:46 +00:00
|
|
|
// Have a look at "acme.c" for further info
|
|
|
|
//
|
2016-12-28 20:32:00 +00:00
|
|
|
// mnemonic definitions
|
2012-02-27 21:14:46 +00:00
|
|
|
#ifndef mnemo_H
|
|
|
|
#define mnemo_H
|
|
|
|
|
|
|
|
|
2020-05-06 11:40:06 +00:00
|
|
|
#include "config.h"
|
|
|
|
|
|
|
|
|
2012-02-27 21:14:46 +00:00
|
|
|
// create dynamic buffer, build keyword trees
|
|
|
|
extern void Mnemo_init(void);
|
2020-05-29 13:04:28 +00:00
|
|
|
// check whether mnemonic in GlobalDynaBuf is supported by standard 6502 cpu.
|
2020-05-06 11:40:06 +00:00
|
|
|
extern boolean keyword_is_6502_mnemo(int length);
|
2020-05-29 13:04:28 +00:00
|
|
|
// check whether mnemonic in GlobalDynaBuf is supported by NMOS 6502 cpu (includes undocumented opcodes).
|
|
|
|
extern boolean keyword_is_nmos6502_mnemo(int length);
|
2016-12-28 20:32:00 +00:00
|
|
|
// check whether mnemonic in GlobalDynaBuf is supported by C64DTV2 cpu.
|
2020-05-06 11:40:06 +00:00
|
|
|
extern boolean keyword_is_c64dtv2_mnemo(int length);
|
2020-05-29 13:04:28 +00:00
|
|
|
// check whether mnemonic in GlobalDynaBuf is supported by 65C02 cpu.
|
2020-05-06 11:40:06 +00:00
|
|
|
extern boolean keyword_is_65c02_mnemo(int length);
|
2020-05-29 13:04:28 +00:00
|
|
|
// check whether mnemonic in GlobalDynaBuf is supported by Rockwell 65C02 cpu.
|
2020-05-06 11:40:06 +00:00
|
|
|
extern boolean keyword_is_r65c02_mnemo(int length);
|
2020-05-29 13:04:28 +00:00
|
|
|
// check whether mnemonic in GlobalDynaBuf is supported by WDC 65C02 cpu.
|
2020-05-06 11:40:06 +00:00
|
|
|
extern boolean keyword_is_w65c02_mnemo(int length);
|
2016-12-28 20:32:00 +00:00
|
|
|
// check whether mnemonic in GlobalDynaBuf is supported by 65816 cpu.
|
2020-05-06 11:40:06 +00:00
|
|
|
extern boolean keyword_is_65816_mnemo(int length);
|
2020-05-29 13:04:28 +00:00
|
|
|
// check whether mnemonic in GlobalDynaBuf is supported by CSG 65CE02 cpu.
|
2020-05-06 11:40:06 +00:00
|
|
|
extern boolean keyword_is_65ce02_mnemo(int length);
|
2016-12-28 20:32:00 +00:00
|
|
|
// check whether mnemonic in GlobalDynaBuf is supported by CSG 4502 cpu.
|
2020-05-06 11:40:06 +00:00
|
|
|
extern boolean keyword_is_4502_mnemo(int length);
|
2020-05-21 19:36:59 +00:00
|
|
|
// check whether mnemonic in GlobalDynaBuf is supported by MEGA65 cpu.
|
|
|
|
extern boolean keyword_is_m65_mnemo(int length);
|
2012-02-27 21:14:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
#endif
|