path: root/
diff options
Diffstat (limited to '')
1 files changed, 6 insertions, 11 deletions
diff --git a/ b/
index fc54cbe..9016321 100644
--- a/
+++ b/
@@ -1,22 +1,17 @@
#!/usr/bin/env python
"""Compiles C into assembly for the practicum processor (PP2)
-All rights reserved, you may not redistribute or use this program without prior
-permission from Peter Wu or Xander Houtman. Use of this program is entirely
-your own risk. In no circumstances can the authors of this program be held
-responsible for any damage including, but not limited to, financial damage or
-data loss. Modification of this program is not allowed without prior
-permission. The generated output (assembly and messages) are not subject to
-this license.
+Copyright (C) 2011-2014 Peter Wu <>
+Licensed under the MIT license <>.
__author__ = "Peter Wu"
-__copyright__ = "Copyright 2011, Peter Wu"
+__copyright__ = "Copyright (C) 2011-2014 Peter Wu"
__credits__ = ["Peter Wu"]
-__license__ = "Proprietary"
+__license__ = "MIT"
__version__ = "1.0"
__maintainer__ = "Peter Wu"
-__email__ = ""
+__email__ = ""
import re
from Asm import Asm
@@ -48,7 +43,7 @@ class AsmLine(object):
parts = self.re_whitespace.split(line, 1)
self.instruction = parts[0]
if self.instruction in Asm.operators_binary:
# a label for sure
reg, operand = self.re_whitespace.split(parts[1], 1)