发新话题
打印

这段代码怎么理解?

这段代码怎么理解?

最近正在学习LINUX下的ARM汇编编程,有下面一段代码,
    b  1f
    .word  0x016f2818    @ Magic numbers to help the loader
    .word  start      @ absolute load/run zImage address
    .word  _edata      @ zImage end address
1:    mov  r7, r1      @ save architecture ID
    mov  r8, #0      @ save r0

不知道其中第一名“b   1f”是不是跳转到label 1: ?这个后面的"f"是什么意思啊?谢谢      

TOP

f :jump forward
       b:jump backward
if the code is 'b 1b' ,then the code must be

      xxx
      xxx
1:  xxx
      xxx
      ...
      b  1b      

TOP

哈哈:
有意识      

TOP

发新话题