So I'm learning assembly language, using Pep8, but I'm stuck wit one thing, I just can't seem to branch back to a previous point in the code, I can't seem to make a loop, I did try to figure out how to write a while loop, I managed to, only I kept making them endless. I'm new to this, do any of you guys know how you'd go about allowing a user to input a word/letter/character, etc. Then allow the computer to loop back to a previous point in the code, sorta like 'would you like to repeat this process?' and all I've done is say - 'type a lower case n to quite'.
I'm trying to do an if statement, where I load the input into the accumulator, then compare what's in the accumulator with a hex value, then I try to branch it back to a previous point in the code. Only I know that's where it's going wrong, because it does go onto the next line of the program, where I just output what the user typed into the command line interface.
I'll provide the code if you guys really want to, I just thought it would look kinda horrid to try and read through.