Re: A83: calls
[Prev][Next][Index][Thread]
Re: A83: calls
>Actually, that piece of code would work just fine. Only, if some more
>instructions were inserted there would be a possibility that they executed
>twice or something like that. But this piece of code would work fine. =)
>
>Linus
Your right that it would need some more code to be useful (even though its an
exmaple) but _Actually_ wouldnt the calc just go into an endless loop like
this...?
--Jason K.
(I hope all the spaces and tabs I did come out right on the screen ;)
first_label:
call second_label
|--> (second return spot)
| |
| V
| second_label:
| call third label --- |
| |--->(first return spot) |
| | | |
| | V |
| | third_label: <----- |
| |---- ret (first time)
|----- ret (second time)
Follow-Ups: