Hi there, I've got this homework problem I'm stuck with, I've got a few questions so I'm not asking for help on all of them, but if someone could help me out with this first one it'll show me the direction to complete the others.
I have to take small sections of high-level pseudo-code and convert it into assembly instructions, (obviously not majorly specific but to get a general idea of the instructions that would be used).
Currently struggling on BRANCHES used as a replacement for IFs and LOOPs. If someone could do this question, I'd be really grateful, thanks.
A <-- 0;
Repeat
A <-- A + 1;
Until A = 99;
For example, I know "A <-- A + 1" would be something like "INC A" for increment.
i used to love Norton go back in the early 2000s but its not made any more. i need a back up tool .windows restore is not that good when its incomplete all the time.ive got drivers too update but scared of my system messing up. want comes close too go back seems too be RollBack Rx Pro ? but is it safe? i never had probs with Norton go back. want do you all think please?
No more aggresive than Microsoft sending millions of perfectly working W10 machines which can't take W11 to landfill.
Microsoft and Google can die in the same ditch as far as I'm concerned. They both work against both our and the planets best interests.
Question
Rob Veteran
Hi there, I've got this homework problem I'm stuck with, I've got a few questions so I'm not asking for help on all of them, but if someone could help me out with this first one it'll show me the direction to complete the others.
I have to take small sections of high-level pseudo-code and convert it into assembly instructions, (obviously not majorly specific but to get a general idea of the instructions that would be used).
Currently struggling on BRANCHES used as a replacement for IFs and LOOPs. If someone could do this question, I'd be really grateful, thanks.
For example, I know "A <-- A + 1" would be something like "INC A" for increment.
Many thanks in advance.
Link to comment
https://www.neowin.net/forum/topic/251647-convert-from-pseudo-code-to-assembly-instructions/Share on other sites
5 answers to this question
Recommended Posts