diff options
Diffstat (limited to 'lib/ccdbg-command.c')
-rw-r--r-- | lib/ccdbg-command.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ccdbg-command.c b/lib/ccdbg-command.c index 7d1ae067..a1002879 100644 --- a/lib/ccdbg-command.c +++ b/lib/ccdbg-command.c @@ -161,7 +161,7 @@ ccdbg_execute_hex_image(struct ccdbg *dbg, struct hex_image *image) { uint16_t pc; uint8_t status; - + if (image->address < 0xf000) { fprintf(stderr, "Cannot execute program starting at 0x%04x\n", image->address); return -1; @@ -174,4 +174,3 @@ ccdbg_execute_hex_image(struct ccdbg *dbg, struct hex_image *image) ccdbg_debug(CC_DEBUG_EXECUTE, "resume status: 0x%02x\n", status); return 0; } - |