fix in assembly file
This commit is contained in:
@@ -103,9 +103,10 @@ class Ram(object):
|
||||
Run machine to completion
|
||||
'''
|
||||
while self.current < len(self.instr):
|
||||
print(self.current)
|
||||
print(*self.instr[self.current]['args'])
|
||||
print(self.current+2)
|
||||
#print(*self.instr[self.current]['args'])
|
||||
self.instr[self.current]['op'](self, *self.instr[self.current]['args'])
|
||||
print(self.work_registers)
|
||||
|
||||
def generate_graph(self):
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user