Initial commit of files related to NED architecture.
[ned1] / nedasm / nedasm_misc.h
/*
* © 2018 Aaron Taylor <ataylor at subgeniuskitty dot com>
* See LICENSE.txt file for copyright and license details.
*/
#ifndef NEDASM_MISC_H
#define NEDASM_MISC_H
/* Max length, including null terminator, of assembly mnemonics. */
/* For example, the alphabetic part of ADD, LDSP+4, IM_3, etc. */
#define MAX_MNEMONIC_LEN 8
/* Max length, including null terminator, of assembly data. */
/* For example, the numeric part of LDSP+4, IM_3, etc. */
#define MAX_DATA_LEN 16
/* Max length, including null terminator, of labels. */
/* For example, "multiply", "init", etc. */
#define MAX_LABEL_LEN 256
// TODO: Turn this into a command line option
/* Address at which code will be loaded. */
#define MEM_BEGIN 0x20000000
#endif