regress: fix Sparc mode for sparc_reg.py

This commit is contained in:
Nguyen Anh Quynh 2016-01-23 10:17:42 +08:00
parent b52665fae2
commit 5c6c67bb3a

View file

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