ICS19 学习记录——PA1

实现寄存器

x86 cpu 具有八个32位寄存器,我们可以访问每个寄存器的32位、后6位和后8位

copy
typedef struct {
union {
union {
uint32_t _32;
uint16_t _16;
uint8_t _8[2];
}gpr[8];
struct {
uint32_t ;
};
}
uint32_t pc_state;
}CPU_state;

调试器

posted @   RunTimeErrors  阅读(4)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示
🚀