Closed spaarmann closed 10 months ago
Load and Store instructions seem to have slightly broken results when displayed. For example, assembling and disassembling this code:
Load
Store
display
ldxb r4, [r1] stxb [r1], r4
results in this output:
ldxb r14, r1 +0 stxbr1 +0 r4
Notice the missing space before r1 and the missing comma after +0 in the store, and the missing square brackets for both instructions.
r1
+0
This PR changes the output to
ldxb r4, [r1 +0] stxb [r1 +0], r4
Thanks for the fix!
Load
andStore
instructions seem to have slightly broken results whendisplay
ed. For example, assembling and disassembling this code:results in this output:
Notice the missing space before
r1
and the missing comma after+0
in the store, and the missing square brackets for both instructions.This PR changes the output to