8000 fix st instruction: swap src and dst register positions · pvr1/py-esp32-ulp@f25da34 · GitHub
[go: up one dir, main page]

Skip to content

Commit f25da34

Browse files
fix st instruction: swap src and dst register positions
see micropython#24 (comment)
1 parent 9c320cd commit f25da34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

esp32_ulp/opcodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ def make_ins(layout):
142142

143143

144144
_st = make_ins("""
145-
dreg : 2 # Register which contains address in RTC memory (expressed in words)
146145
sreg : 2 # Register which contains data to store
146+
dreg : 2 # Register which contains address in RTC memory (expressed in words)
147147
unused1 : 6 # Unused
148148
offset : 11 # Offset to add to dreg
149149
unused2 : 4 # Unused

0 commit comments

Comments
 (0)
0