asm-1.c

来自「用于进行gcc测试」· C语言 代码 · 共 16 行

C
16
字号
/* PR target/17565.  GCC used to put the asm into the delay slot   of the call.  *//* { dg-do assemble } *//* { dg-mips-options "-O" } */NOMIPS16 int foo (int n){  register int k asm ("$16") = n;  if (k > 0)    {      bar ();      asm ("li %0,0x12345678" : "=r" (k));    }  return k;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?