+ added the alternate Z80 register pairs BC', DE' and HL'

git-svn-id: trunk@45333 -
This commit is contained in:
nickysn 2020-05-11 04:23:02 +00:00
parent 9ce97e6ba5
commit 06a728df24
10 changed files with 38 additions and 11 deletions

View File

@ -21,6 +21,9 @@ NR_H_ = tregister($05010004);
NR_L_ = tregister($05010005);
NR_A_ = tregister($05010007);
NR_AF_ = tregister($05030007);
NR_BC_ = tregister($05030001);
NR_DE_ = tregister($05030003);
NR_HL_ = tregister($05030005);
NR_SP = tregister($05030008);
NR_F = tregister($05010009);
NR_F_ = tregister($0501000a);

View File

@ -21,6 +21,9 @@
18,
19,
26,
27,
28,
29,
20,
23,
24,

View File

@ -1,2 +1,2 @@
{ don't edit, this file is generated from z80reg.dat }
28
31

View File

@ -21,6 +21,9 @@ tregister($05010004),
tregister($05010005),
tregister($05010007),
tregister($05030007),
tregister($05030001),
tregister($05030003),
tregister($05030005),
tregister($05030008),
tregister($05010009),
tregister($0501000a),

View File

@ -20,10 +20,13 @@
18,
19,
20,
23,
24,
26,
27,
21,
29,
30,
22,
25
23,
24,
21,
25,
28

View File

@ -7,23 +7,26 @@
1,
14,
8,
22,
2,
15,
3,
16,
9,
23,
4,
17,
23,
24,
26,
27,
5,
18,
10,
26,
24,
29,
12,
13,
6,
19,
25,
27,
22
28,
30,
25

View File

@ -21,6 +21,9 @@
18,
19,
26,
27,
28,
29,
20,
23,
24,

View File

@ -21,6 +21,9 @@
'l''',
'a''',
'af''',
'bc''',
'de''',
'hl''',
'sp',
'f',
'f''',

View File

@ -21,6 +21,9 @@ RS_H_ = 4;
RS_L_ = 5;
RS_A_ = 7;
RS_AF_ = 7;
RS_BC_ = 1;
RS_DE_ = 3;
RS_HL_ = 5;
RS_SP = 8;
RS_F = 9;
RS_F_ = 10;

View File

@ -34,6 +34,9 @@ H_,$05010004,h'',17,17
L_,$05010005,l'',18,18
A_,$05010007,a'',19,19
AF_,$05030007,af'',26,26
BC_,$05030001,bc'',27,27
DE_,$05030003,de'',28,28
HL_,$05030005,hl'',29,29
; Stack pointer
SP,$05030008,sp,20,20