⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cpuregs.h

📁 日本的手持pda源码.wince下使用,完全开源
💻 H
字号:
#ifndef __CPUREGS_H__#define __CPUREGS_H__#include "defs.h"#include "cpu.h"#define LB(r) ((r).b[LO][LO])#define HB(r) ((r).b[LO][HI])#define W(r) ((r).w[LO])#define DW(r) ((r).d)#define A HB(cpu.af)#define F LB(cpu.af)#define B HB(cpu.bc)#define C LB(cpu.bc)#define D HB(cpu.de)#define E LB(cpu.de)#define H HB(cpu.hl)#define L LB(cpu.hl)
#define PCHB HB(cpu.pc)
#define PCLB LB(cpu.pc)
#define SPHB HB(cpu.sp)
#define SPLB LB(cpu.sp)
#define AF W(cpu.af)#define BC W(cpu.bc)#define DE W(cpu.de)#define HL W(cpu.hl)#define PC W(cpu.pc)#define SP W(cpu.sp)#define xAF DW(cpu.af)#define xBC DW(cpu.bc)#define xDE DW(cpu.de)#define xHL DW(cpu.hl)#define xPC DW(cpu.pc)#define xSP DW(cpu.sp)#define IME cpu.ime#define IF R_IF#define IE R_IE

#define FZ		0x40
#define FH		0x10
#define FN		0x02
#define FC		0x01#endif /* __CPUREGS_H__ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -