From 5c6c67bb3a2a01bbad09a67df487d5244ad7c474 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Sat, 23 Jan 2016 10:17:42 +0800 Subject: [PATCH] regress: fix Sparc mode for sparc_reg.py --- tests/regress/sparc_reg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/regress/sparc_reg.py b/tests/regress/sparc_reg.py index 03832de..4508efa 100755 --- a/tests/regress/sparc_reg.py +++ b/tests/regress/sparc_reg.py @@ -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)