summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-04-26 13:55:55 -0500
committerBryan Bishop <kanzure@gmail.com>2012-04-26 13:55:55 -0500
commitf6ec80e24e481a0dedb4ad75ee7614cb78cfb2c0 (patch)
tree1f672ccba2100f122523dc984f7bd6c763ef51e8
parentfa0b8571c6b2252deaa9c359f679e53064905698 (diff)
add param_types to Signpost
original-commit-id: d09cf6d950ce3ba015c3ac4f74dda68d2b8c0f87
-rw-r--r--crystal.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/crystal.py b/crystal.py
index f0cc253..aef435c 100644
--- a/crystal.py
+++ b/crystal.py
@@ -2664,6 +2664,14 @@ class Signpost(Command):
macro_name = "signpost"
override_byte_check = True
+ #preprocessor uses this
+ param_types = {
+ 0: {"name": "y", "class": DecimalParam},
+ 1: {"name": "x", "class": DecimalParam},
+ 2: {"name": "function", "class": HexByte},
+ 3: {"name": "pointer", "class": PointerLabelParam},
+ }
+
def __init__(self, address, id, bank=None, map_group=None, map_id=None, debug=True, label=None):
self.address = address
self.id = id