📄 pushpop.h
字号:
#define handle_push16(operand) \ cpu.greg.sp-=2, \ *((word*)(cpu.ram+(cpu.sreg.ss<<4)+cpu.greg.sp)) = (operand) #define handle_pop16(operand) \ (operand) = *((word*)(cpu.ram+(cpu.sreg.ss<<4)+cpu.greg.sp)), \ cpu.greg.sp+=2 #define handle_push8(operand) \ cpu.greg.sp--, \ *(cpu.ram+(cpu.sreg.ss<<4)+cpu.greg.sp) = (byte)(operand) #define handle_pop8(operand) \ (operand) = *(cpu.ram+(cpu.sreg.ss<<4)+cpu.greg.sp), \ cpu.greg.sp++
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -