From: Hugo Villeneuve Date: Sun, 24 Nov 2013 21:01:21 +0000 (-0500) Subject: Reintroduce PSW in list of displayed registers (for regression tests) X-Git-Tag: v2.0.0~65 X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=a1c2d9686130ba2702a4fc91896c0a04e69c0f49;p=emu8051.git Reintroduce PSW in list of displayed registers (for regression tests) --- diff --git a/src/sfr.c b/src/sfr.c index 4b890b3..e2702ea 100644 --- 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 --- 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 */