How to exit a loop in assembly

后端 未结 2 1999
被撕碎了的回忆
被撕碎了的回忆 2021-01-27 00:09

I have a loop with a couple of conditions, which means that when the loop is finished, it will proceed to go through the remaining loop segment. How can I force the program to s

2条回答
  •  梦毁少年i
    2021-01-27 00:38

    You'll have to jump past them. That's the only flow control you get. Try to emulate the structure you would use in a higher level language, though, so as to avoid making spaghetti code.

提交回复
热议问题