projects
/
emu8051.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
381b6d7
)
Reintroduce PSW in list of displayed registers (for regression tests)
author
Hugo Villeneuve
<hugo@hugovil.com>
Sun, 24 Nov 2013 21:01:21 +0000
(16:01 -0500)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Mon, 2 Dec 2013 01:49:43 +0000
(20:49 -0500)
src/sfr.c
patch
|
blob
|
history
src/sfr.h
patch
|
blob
|
history
diff --git
a/src/sfr.c
b/src/sfr.c
index
4b890b3
..
e2702ea
100644
(file)
--- a/
src/sfr.c
+++ b/
src/sfr.c
@@
-118,6
+118,12
@@
static struct regwin_infos_t regwin_infos[SFR_REGS] = {
NULL, NULL,
_SP_,
},
+ {
+ "PSW",
+ HEX_DIGITS_2,
+ NULL, NULL,
+ _PSW_,
+ },
{
"A",
HEX_DIGITS_2,
diff --git
a/src/sfr.h
b/src/sfr.h
index
857af97
..
fe552dd
100644
(file)
--- a/
src/sfr.h
+++ b/
src/sfr.h
@@
-21,7
+21,7
@@
#ifndef SFR_H
#define SFR_H 1
-#define SFR_REGS 2
5
+#define SFR_REGS 2
6
struct regwin_infos_t {
char *name; /* Register name */