+ -
当前位置:首页 → 问答吧 → 这段代码怎么理解?

这段代码怎么理解?

时间:2006-09-19

来源:互联网

最近正在学习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"是什么意思啊?谢谢      

作者: InDepth   发布时间: 2006-09-19

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

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

作者: unixs   发布时间: 2006-09-25

哈哈:
有意识      

作者: sof_ljh   发布时间: 2006-09-28

热门下载

更多