diff --git a/tests/regress/sparc_reg.py b/tests/regress/sparc_reg.py index 03832de..4508efa 100755 --- a/tests/regress/sparc_reg.py +++ b/tests/regress/sparc_reg.py @@ -5,7 +5,7 @@ from unicorn.sparc_const import * PAGE_SIZE = 1 * 1024 * 1024 -uc = Uc(UC_ARCH_SPARC, UC_MODE_32) +uc = Uc(UC_ARCH_SPARC, 0) uc.reg_write(UC_SPARC_REG_SP, 100) uc.reg_write(UC_SPARC_REG_FP, 200)