i2c tools better naming scheme
[cr816-sim.git] / isa.h
blobc9a4a4bf2b6d367fbca29b1bd0d1c1e5a31203ff
1 #ifndef ISA_H
2 #define ISA_H
4 #include "disasm.h"
6 const char * get_ixs_name(enum alu_ixs ixs);
7 const char * get_regs_name(enum alu_regs regs);
9 void do_push(u16 val);
10 u16 do_pop(void);
12 u16 opcode_decode(struct opcode_word opcode);
13 struct opcode_word read_code(u16 addr);
15 void init_isa(char * filename);
17 #endif