mirror of
https://github.com/yuzu-mirror/unicorn.git
synced 2026-04-05 22:45:40 +00:00
Get Python samples running on Python 3
This commit is contained in:
parent
608cb1d943
commit
c87a487fec
7 changed files with 10 additions and 10 deletions
|
|
@ -8,8 +8,8 @@ from unicorn.mips_const import *
|
|||
|
||||
|
||||
# code to be emulated
|
||||
MIPS_CODE_EB = "\x34\x21\x34\x56" # ori $at, $at, 0x3456;
|
||||
MIPS_CODE_EL = "\x56\x34\x21\x34" # ori $at, $at, 0x3456;
|
||||
MIPS_CODE_EB = b"\x34\x21\x34\x56" # ori $at, $at, 0x3456;
|
||||
MIPS_CODE_EL = b"\x56\x34\x21\x34" # ori $at, $at, 0x3456;
|
||||
|
||||
# memory address where emulation starts
|
||||
ADDRESS = 0x10000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue