Skip to content

Commit

Permalink
pyparsing: Add missing identifier: O
Browse files Browse the repository at this point in the history
  • Loading branch information
pwaller committed Apr 9, 2012
1 parent b1fbd60 commit b9909df
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions asm_pyparsing.py
Expand Up @@ -180,8 +180,10 @@ def debug_line(string, location, tokens):
line.setDebugActions(debug_line, None, None)

IDENTIFIERS = {"A": 0x0, "B": 0x1, "C": 0x2, "X": 0x3, "Y": 0x4, "Z": 0x5,
"I": 0x6, "J": 0x7, "POP": 0x18, "PEEK": 0x19, "PUSH": 0x1A,
"SP": 0x1B, "PC": 0x1C}
"I": 0x6, "J": 0x7,
"POP": 0x18, "PEEK": 0x19, "PUSH": 0x1A,
"SP": 0x1B, "PC": 0x1C,
"O": 0x1D}
OPCODES = {"SET": 0x1, "ADD": 0x2, "SUB": 0x3, "MUL": 0x4, "DIV": 0x5,
"MOD": 0x6, "SHL": 0x7, "SHR": 0x8, "AND": 0x9, "BOR": 0xA,
"XOR": 0xB, "IFE": 0xC, "IFN": 0xD, "IFG": 0xE, "IFB": 0xF}
Expand Down

0 comments on commit b9909df

Please sign in to comment.