comparison target-utils/loadagent/cmdtab.c @ 26:1a3bbab2ea26

loadagent: jump command implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 04 May 2013 05:38:58 +0000
parents c0e063494194
children 2c6b2a74ac7c
comparison
equal deleted inserted replaced
25:796da8d60b23 26:1a3bbab2ea26
1 #include "cmdtab.h" 1 #include "cmdtab.h"
2 2
3 extern void cmd_jump();
3 extern void cmd_r8(); 4 extern void cmd_r8();
4 extern void cmd_r16(); 5 extern void cmd_r16();
5 extern void cmd_r32(); 6 extern void cmd_r32();
6 extern void cmd_w8(); 7 extern void cmd_w8();
7 extern void cmd_w16(); 8 extern void cmd_w16();
11 extern void cmd_memdump_machine(); 12 extern void cmd_memdump_machine();
12 13
13 const struct cmdtab cmdtab[] = { 14 const struct cmdtab cmdtab[] = {
14 {"DUMP", cmd_memdump_machine}, 15 {"DUMP", cmd_memdump_machine},
15 {"dump", cmd_memdump_human}, 16 {"dump", cmd_memdump_human},
17 {"jump", cmd_jump},
16 {"r8", cmd_r8}, 18 {"r8", cmd_r8},
17 {"r16", cmd_r16}, 19 {"r16", cmd_r16},
18 {"r32", cmd_r32}, 20 {"r32", cmd_r32},
19 {"w8", cmd_w8}, 21 {"w8", cmd_w8},
20 {"w16", cmd_w16}, 22 {"w16", cmd_w16},