From: Hugo Villeneuve Date: Sun, 26 Jan 2014 20:09:20 +0000 (-0500) Subject: Fix error when specifying start address in CLI version X-Git-Tag: v2.0.1~37 X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;ds=sidebyside;h=310d829f65da3528a5fd6abf74111a0368c2a081;p=emu8051.git Fix error when specifying start address in CLI version Start address was specified as "0x0000", but need to be "0000". --- diff --git a/src/cli/emuconsole.c b/src/cli/emuconsole.c index 8cfbcae..1c88935 100644 --- a/src/cli/emuconsole.c +++ b/src/cli/emuconsole.c @@ -277,7 +277,7 @@ console_main(void) if (options.stop_address != 0) { /* Automatically run program and stop at specified address. */ - console_exec("0x0000", NULL); + console_exec("0000", NULL); console_show_registers(); QuitRequest = 1; } else {