repo.or.cz
/
cr816-sim.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
i2c tools better naming scheme
[cr816-sim.git]
/
isa.h
blob
c9a4a4bf2b6d367fbca29b1bd0d1c1e5a31203ff
1
#ifndef ISA_H
2
#define ISA_H
3
4
#include
"disasm.h"
5
6
const char
*
get_ixs_name
(
enum
alu_ixs ixs
);
7
const char
*
get_regs_name
(
enum
alu_regs regs
);
8
9
void
do_push
(
u16 val
);
10
u16
do_pop
(
void
);
11
12
u16
opcode_decode
(
struct
opcode_word opcode
);
13
struct
opcode_word
read_code
(
u16 addr
);
14
15
void
init_isa
(
char
*
filename
);
16
17
#endif