repair inscorect directive .offset to .origin
.offset directive do not exist in pioasm
This commit is contained in:
parent
2bc0deb3ab
commit
6ac60b4554
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ class Program: # pylint: disable=too-few-public-methods
|
|||
if program_name:
|
||||
raise RuntimeError("Multiple programs not supported")
|
||||
program_name = line.split()[1]
|
||||
elif line.startswith(".offset"):
|
||||
elif line.startswith(".origin"):
|
||||
offset = int(line.split()[1], 0)
|
||||
elif line.startswith(".wrap_target"):
|
||||
wrap_target = len(instructions)
|
||||
|
|
|
|||
Loading…
Reference in a new issue