Woops, there should be a j = i + 1 after the i++. Don't worry if you didn't do this, all we want is for you to know how to translate the pseudocode 1-1 into assembly. We don't really care about what exactly it is you are translating. ;; j = i + 1 LDR R0, R5, #0 ADD R0, R0, #1 STR R0, R5, #-1
Пікірлер: 1