Skip to content

Commit

Permalink
parse next word pointers.
Browse files Browse the repository at this point in the history
  • Loading branch information
tim committed Apr 7, 2012
1 parent 5a65d37 commit 668c876
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sixteen/parser.py
Expand Up @@ -90,3 +90,7 @@ def PC(self):
@parse("O")
def O(self):
return 0x1d, None

@parse(r"\[([^+]+)\]")
def next_word_pointer(self, num):
return 0x1e, literal_eval(num)

0 comments on commit 668c876

Please sign in to comment.