在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
芯片精品文章合集(500篇!)    创芯人才网--重磅上线啦!
查看: 4045|回复: 4

请问一个指令

[复制链接]
发表于 2007-6-22 16:49:58 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
mips的启动代码中开始的时候出现了一条指令:

bal 1f#请问这条指令是什么意思呢,跳转到1:这个位置

1:li  t0,1fff
 楼主| 发表于 2007-6-25 13:40:34 | 显示全部楼层
没人回答,!我现在知道什么意思了贴出来,大家共勉吧!

我最初不知道的是,bal 1f

1f 是什么意思,答案终于在see mips run chapter 9上找到了!

In code you can use a number (decimal between 1 and 99) as a label.
This is treated as temporary, and you can use the same number as
many times as you like. In a branch instruction “1f” (forward) refers to the next “1:” label in the code and “1b” (back) refers to the previous “1:”label. This saves you thinking about names for little branches and loops.Reserve named labels for subroutine entry points or for exceptionally big jumps
.“


摘自 see mips run 251 -252

That's all!
 楼主| 发表于 2007-6-25 13:55:01 | 显示全部楼层
大家,一起探讨阿
 楼主| 发表于 2007-6-25 13:56:24 | 显示全部楼层
我是做broadcom网络通信的
发表于 2015-2-8 15:00:08 | 显示全部楼层
回复 2# hanlin11


   赞。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /1 下一条

关闭

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-3-29 03:38 , Processed in 0.023971 second(s), 9 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表