Added mode endian flags for sparc tests and fixed mode in sparc_jump_to_zero.c

This commit is contained in:
xorstream
2016-01-25 13:50:26 +11:00
parent 9ec2163571
commit 7973f6b4c9
3 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ from unicorn.sparc_const import *
PAGE_SIZE = 1 * 1024 * 1024
uc = Uc(UC_ARCH_SPARC, UC_MODE_SPARC64)
uc = Uc(UC_ARCH_SPARC, UC_MODE_SPARC64|UC_MODE_BIG_ENDIAN)
uc.reg_write(UC_SPARC_REG_SP, 100)
print 'writing sp = 100'