projects
/
emu8051.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6dd8fe
)
Fix error with EM command in CLI mode
author
Hugo Villeneuve
<hugo@hugovil.com>
Sun, 1 Dec 2013 22:00:04 +0000
(17:00 -0500)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Mon, 2 Dec 2013 01:49:43 +0000
(20:49 -0500)
Address parameter was not handled correctly.
src/emuconsole.c
patch
|
blob
|
history
diff --git
a/src/emuconsole.c
b/src/emuconsole.c
index
ebcb8a9
..
d5784b8
100644
(file)
--- a/
src/emuconsole.c
+++ b/
src/emuconsole.c
@@
-69,7
+69,7
@@
console_exec(char *Address, char *NumberInst)
return;
}
- if (STREQ(Address, "PC"))
+ if (
!
STREQ(Address, "PC"))
cpu8051.pc = Ascii2Hex(Address, strlen(Address));
if (NumberInst)