示例#1
0
文件: ops.py 项目: Gaming32/8bit
def ldx2(comp: Computer):
    ptr = getat_pages(comp, True)
    data = comp.getat(ptr)
    comp.regx = data
示例#2
0
文件: ops.py 项目: Gaming32/8bit
def ldx_imm(comp: Computer):
    comp.pc += 1
    data = comp.getat(comp.pc)
    comp.regx = data