1b and 1f in GNU assembly

后端 未结 2 1324
傲寒
傲寒 2020-12-03 08:37

I am analyzing a linux exception code. By the way I can\'t understand gnu assembly syntax.

    svc_preempt:
    mov r8, lr
1:  bl  preempt_schedule_irq               


        
2条回答
  •  情书的邮戳
    2020-12-03 09:14

    These are relative branches (so many bytes forwards or backwards relative to the current position) so they don't really have a label. However, when visualizing code it is easier to actually have some kind of visualization of where it goes to - hence the "not-label" of 1 and the backwards and forwards jumps.

    I had to work with the alternative on the IBM370 mainframe - believe me, that's not fun!

提交回复
热议问题