3 A bug in tracking of register pair hl over ldir
8 typedef unsigned long uint32
;
9 typedef unsigned short addr16
;
10 typedef unsigned short uint16
;
11 typedef unsigned char uint8
;
15 void memWrite(uint32 sectorNumber
){
17 uint32
* byte51202
= memory
+ 02;
18 *byte51202
= sectorNumber
;
29 ASSERT(buffer
[2] == 42);
30 ASSERT(buffer
[3] == 100);
31 ASSERT(buffer
[0] == 200);