mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 10:55:34 +00:00
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
|
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_SP, 100)
|
||||||
uc.reg_write(UC_SPARC_REG_FP, 200)
|
uc.reg_write(UC_SPARC_REG_FP, 200)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue