Reintroduce PSW in list of displayed registers (for regression tests)
authorHugo Villeneuve <hugo@hugovil.com>
Sun, 24 Nov 2013 21:01:21 +0000 (16:01 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Mon, 2 Dec 2013 01:49:43 +0000 (20:49 -0500)
src/sfr.c
src/sfr.h

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,
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 25
+#define SFR_REGS 26
 
 struct regwin_infos_t {
        char *name; /* Register name */