10 #define LB(r) ((r).b[LO][LO])
11 #define HB(r) ((r).b[LO][HI])
12 #define W(r) ((r).w[LO])
25 #define xAF ((A<<8)|F)
26 #define xBC ((B<<8)|C)
27 #define xDE ((D<<8)|E)
33 #define xHL DW(cpu.hl)
49 #define xAF DW(cpu.af)
50 #define xBC DW(cpu.bc)
51 #define xDE DW(cpu.de)
52 #define xHL DW(cpu.hl)
58 #define xPC DW(cpu.pc)
59 #define xSP DW(cpu.sp)
70 #define FL 0x0F /* low unused portion of flags */
73 #endif /* __CPUREGS_H__ */