Open vbgl opened 1 year ago
I tried to understand the add r, sp, #imm
and sub r, sp #imm
problem a bit better. It is simpler than what I explained earlier. The restriction is the following:
If the output register r
is sp
, then imm
needs to be a multiple of four.
Since we need to do further computation with the value of sp
, in Jasmin we don't use this case. So I believe that there is nothing to fix here. I will test more thoroughly now.
This gathers things to happen before a release of Jasmin with ARM support can happen.
Required
add sp
&sub sp
.?{ … }
syntaxMaybe
Nice to have
Out of scope
LDM
etc.)