From f6ec80e24e481a0dedb4ad75ee7614cb78cfb2c0 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Thu, 26 Apr 2012 13:55:55 -0500 Subject: add param_types to Signpost original-commit-id: d09cf6d950ce3ba015c3ac4f74dda68d2b8c0f87 --- crystal.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'crystal.py') 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 -- cgit v1.2.3