可用的回归测试通过的标准版本

This commit is contained in:
2026-06-18 00:39:43 +08:00
parent bffb0cb6b7
commit e02c867edf
365 changed files with 22562 additions and 24532 deletions

View File

@@ -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)}