sparc: add SPARC32 mode (= UC_MODE_32)
This commit is contained in:
@ -5,7 +5,7 @@ from unicorn.sparc_const import *
|
||||
|
||||
PAGE_SIZE = 1 * 1024 * 1024
|
||||
|
||||
uc = Uc(UC_ARCH_SPARC, UC_MODE_64)
|
||||
uc = Uc(UC_ARCH_SPARC, UC_MODE_SPARC64)
|
||||
uc.reg_write(UC_SPARC_REG_SP, 100)
|
||||
print 'writing sp = 100'
|
||||
|
||||
|
Reference in New Issue
Block a user