mirror of
https://github.com/yuzu-mirror/unicorn.git
synced 2026-04-06 15:04:27 +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,7 +8,7 @@ from unicorn.sparc_const import *
|
|||
|
||||
|
||||
# code to be emulated
|
||||
SPARC_CODE = "\x86\x00\x40\x02" # add %g1, %g2, %g3;
|
||||
SPARC_CODE = b"\x86\x00\x40\x02" # add %g1, %g2, %g3;
|
||||
# memory address where emulation starts
|
||||
ADDRESS = 0x10000
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue