I think this advice may be related to the assembly line, but I'm not sure.
I believe the question you ask is:
... subroutine entrypoint ... ... various instructions in a routine ... jmp label ... move instructions in a routine... label: ret
What problem, if any, is with this? Firstly, I'm not sure if this is a problem at all. But if so, this is a pipeline. On some processors, one or more instructions after running jmp before the control moves to the mark.
Basically, I'm afraid that you misunderstood what you read, or I misunderstood what you wrote. jmp-ing from one point in your routine to the ret statement should be fine. jmp-ing instead of doing ret, as other people point out, is a dumb idea.
source share