mirror of
https://github.com/ksherlock/hystricomorph.git
synced 2024-06-08 14:29:27 +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
|
self.rts = False
|
||||||
|
|
||||||
def empty(self):
|
def empty(self):
|
||||||
return self.size == 0 and self.bne == None
|
return len(self.instr) == 0 and self.bne == None
|
||||||
|
|
||||||
class Assembler(object):
|
class Assembler(object):
|
||||||
def __init__(self, name):
|
def __init__(self, name):
|
||||||
|
@ -156,8 +156,8 @@ class Assembler(object):
|
||||||
txt = """
|
txt = """
|
||||||
phb
|
phb
|
||||||
tsc
|
tsc
|
||||||
tcd
|
|
||||||
phd
|
phd
|
||||||
|
tcd
|
||||||
pei cp+1
|
pei cp+1
|
||||||
plb
|
plb
|
||||||
plb
|
plb
|
||||||
|
|
Loading…
Reference in New Issue
Block a user