I\'m learning x86 assembly. I was wondering how you perform call a subroutine conditionally.
As far as I understand, jumping to a label doesn\'t work because the return addr
I believe the right way to do it is with the call instruction. This is equivalent to a function call in a higher programming language. The PC is stored on the stack, and therefore the ret at the end of your zero: subroutine does what it's supposed to.