regress: fix Sparc mode for sparc_reg.py
This commit is contained in:
parent
b52665fae2
commit
5c6c67bb3a
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user