Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1109512
  • 博文数量: 254
  • 博客积分: 1242
  • 博客等级: 少尉
  • 技术积分: 1581
  • 用 户 组: 普通用户
  • 注册时间: 2012-05-03 21:49
文章分类

全部博文(254)

文章存档

2017年(16)

2016年(4)

2013年(94)

2012年(140)

分类:

2012-08-20 11:19:05

原文地址:.set 作者:CUHH

.set
Sets (and clears) various flags that affect generated code. The following table may not be a complete list.

Flag

noreorder
       Turns off reordering of instructions. When on, t.i. when the assembler is reordering, it will put the last instruction before j or jr after the jump so it'll be in the branch delay slot. When off, you'll have to do it yourself.
 
mips3
        Tells the assembler that it can use the MIPS III instructions. Withouth it as simulates 64 bit instructions, and believe me, that's something you don't want.
 
reorder
        Allows the assembler to reorder instructions; see noreorder
 
pop
        Not really a flag but restores the state of the flags to what it was before the last .set push; see push.
 
push
        Nor really a flag but saves the status of the flags so it can be restored with .set pop. Not really useful (I think) outside inline assembly. Use in pairs with .set pop.
阅读(805) | 评论(0) | 转发(0) |
0

上一篇:mips汇编指令学习

下一篇:linux中的netfilter

给主人留下些什么吧!~~