We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents be730f2 + c4fbe18 commit e0c625cCopy full SHA for e0c625c
adafruit_pioasm.py
@@ -134,7 +134,7 @@ def assemble(text_program):
134
assembled[-1] |= MOV_DESTINATIONS.index(instruction[1]) << 5
135
assembled[-1] |= MOV_SOURCES.index(instruction[-1])
136
if len(instruction) > 3:
137
- assembled[-1] |= MOV_OPS.index(instruction[-2])
+ assembled[-1] |= MOV_OPS.index(instruction[-2]) << 3
138
elif instruction[0] == "irq":
139
# instr delay z c w index
140
assembled.append(0b110_00000_0_0_0_00000)
0 commit comments