Is there a way that the program can be structured without jumping to a label? Or is assembly normally coded in this manner?
I always thought the use of GOTO's lead to bad programming structure, or does that only apply to higher level languages?
Somthing like...Code:cmp bl,'Y' ; is al=Y? je Prompt_Again ; if yes then display it again cmp bl,'y' ; is al=y? je Prompt_Again ; if yes then display it again
Thanks for the help!Code:if(bl == 'y'){ // execute code // instead of jumping to a label or calling a method }![]()


Reply With Quote
