mirror of
https://github.com/ksherlock/hystricomorph.git
synced 2025-02-18 11:30:34 +00:00
empty block check was missing longa on/off
This commit is contained in:
parent
f006bf7f73
commit
1cf9788194
4
asm.py
4
asm.py
@ -11,7 +11,7 @@ class Block(object):
|
||||
self.rts = False
|
||||
|
||||
def empty(self):
|
||||
return self.size == 0 and self.bne == None
|
||||
return len(self.instr) == 0 and self.bne == None
|
||||
|
||||
class Assembler(object):
|
||||
def __init__(self, name):
|
||||
@ -156,8 +156,8 @@ class Assembler(object):
|
||||
txt = """
|
||||
phb
|
||||
tsc
|
||||
tcd
|
||||
phd
|
||||
tcd
|
||||
pei cp+1
|
||||
plb
|
||||
plb
|
||||
|
Loading…
x
Reference in New Issue
Block a user