Asm 06
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
import sys
|
||||
|
||||
|
||||
class Assembler:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
'''
|
||||
Statische Methoden zeichnen sich dadurch aus, dass ihnen kein Parameter übergeben,
|
||||
der irgendeinen Bezug zur Klasse oder Methode hat – einer statischen Methode wird
|
||||
also weder cls noch self übergeben.
|
||||
'''
|
||||
#@staticmethod
|
||||
#def getfile(file):
|
||||
|
||||
def assemblefile(self, file):
|
||||
pass
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
inputfile = sys.argv[1]
|
||||
hackasm = Assembler()
|
||||
hackasm.assemblefile(inputfile)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user