2016-12-28 20:32:00 +00:00
|
|
|
// ACME - a crossassembler for producing 6502/65c02/65816/65ce02 code.
|
2020-04-28 16:02:09 +00:00
|
|
|
// Copyright (C) 1998-2020 Marco Baye
|
2014-06-02 00:47:46 +00:00
|
|
|
// Have a look at "acme.c" for further info
|
|
|
|
//
|
|
|
|
// Type system stuff
|
|
|
|
#ifndef typesystem_H
|
|
|
|
#define typesystem_H
|
|
|
|
|
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
|
|
|
|
|
2014-06-07 00:12:10 +00:00
|
|
|
// return whether explicit symbol definitions should force "address" mode
|
2020-05-06 12:27:32 +00:00
|
|
|
extern boolean typesystem_says_address(void);
|
2014-06-02 00:47:46 +00:00
|
|
|
// parse a block while forcing address mode
|
|
|
|
extern void typesystem_force_address_block(void);
|
|
|
|
// force address mode on or off for the next statement
|
2020-05-06 12:27:32 +00:00
|
|
|
extern void typesystem_force_address_statement(boolean value);
|
2014-06-07 00:12:10 +00:00
|
|
|
// warn if result is not integer
|
2020-05-08 00:34:46 +00:00
|
|
|
extern void typesystem_want_nonaddr(struct number *result);
|
2014-06-07 00:12:10 +00:00
|
|
|
// warn if result is not address
|
2020-04-28 16:02:09 +00:00
|
|
|
extern void typesystem_want_addr(struct number *result);
|
2014-06-02 00:47:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
#endif
|