comparison target-utils/calversion/cmdtab.c @ 441:1dcc9e4b71fd

target-utils/calversion: program written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 26 Dec 2018 06:40:02 +0000
parents
children 44a1de4264d8
comparison
equal deleted inserted replaced
440:44f73d56b6f5 441:1dcc9e4b71fd
1 #include "cmdtab.h"
2
3 extern void cmd_abbr();
4 extern void cmd_abbw();
5 extern void cmd_jump();
6 extern void cmd_r8();
7 extern void cmd_r16();
8 extern void cmd_r32();
9 extern void cmd_w8();
10 extern void cmd_w16();
11 extern void cmd_w32();
12
13 extern void cmd_memdump_human();
14
15 extern void abb_init();
16 extern void abb_power_off();
17
18 const struct cmdtab cmdtab[] = {
19 {"abbinit", abb_init},
20 {"abbr", cmd_abbr},
21 {"abbw", cmd_abbw},
22 {"dump", cmd_memdump_human},
23 {"jump", cmd_jump},
24 {"poweroff", abb_power_off},
25 {"r8", cmd_r8},
26 {"r16", cmd_r16},
27 {"r32", cmd_r32},
28 {"w8", cmd_w8},
29 {"w16", cmd_w16},
30 {"w32", cmd_w32},
31 {0, 0}
32 };