summaryrefslogtreecommitdiff
path: root/python/examples/nes.py
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2017-11-13 17:09:13 -0500
committerBrian Potchik <brian@vector35.com>2017-11-13 17:09:13 -0500
commit0cff612e91e59a343fad898daa6fa51ab525a789 (patch)
tree551ff0b624ffc18be23824757fab1a13fd9819e7 /python/examples/nes.py
parent32b22a22aaf7b76d47e91ed49a3246b66b431991 (diff)
Add GetInstructionAlignment Callback to Architecture.
Diffstat (limited to 'python/examples/nes.py')
-rw-r--r--python/examples/nes.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/examples/nes.py b/python/examples/nes.py
index e55a90b7..39544c9f 100644
--- a/python/examples/nes.py
+++ b/python/examples/nes.py
@@ -367,6 +367,7 @@ class M6502(Architecture):
name = "6502"
address_size = 2
default_int_size = 1
+ instr_alignment = 1
max_instr_length = 3
regs = {
"a": RegisterInfo("a", 1),