aboutsummaryrefslogtreecommitdiffstats
path: root/src/core.h
blob: 2a320a14a99d9befe1e1f79d2b6b3902e032dff4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef CORE_H
#define CORE_H

#include <stdint.h>

typedef struct {
	uint16_t reg[16];
	uint8_t *mem;
} msp430_t;

void msp430_init_state(msp430_t *state, void *mem);
int msp430_do_cycle(msp430_t *state);

#endif // CORE_H