可用的回归测试通过的标准版本
This commit is contained in:
@@ -13,6 +13,9 @@ def hlt():
|
||||
def nop():
|
||||
c.Asm("nop", [t.ASM_DESCR.CLOBBER_MEMORY])
|
||||
|
||||
def pause():
|
||||
c.Asm("pause", op=[t.ASM_DESCR.CLOBBER_MEMORY])
|
||||
|
||||
def inb(port: t.CUInt16T) -> t.CUInt8T:
|
||||
value: t.CUInt32T
|
||||
c.Asm(f"""mov edx, {c.AsmInp(t.CUInt32T(port), t.ASM_DESCR.REG_ANY)}
|
||||
|
||||
Reference in New Issue
Block a user