你好: 我在ARMV7指令集里面找到了MPU等汇编指令,但svc指令的具体解释没有找到,我很疑惑类似这种内联汇编的写法:
__asm__ __volatile__ ("svc %0"
:/* output */
: "i" SVCNO_setRealClock, "r" (r0), "r" (r1) /* input(s) */
: /* list of clobbered registers */);
其中 svc%0,中的%0 代表的意思,如何%1代表什么?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
你好: 我在ARMV7指令集里面找到了MPU等汇编指令,但svc指令的具体解释没有找到,我很疑惑类似这种内联汇编的写法:
__asm__ __volatile__ ("svc %0"
:/* output */
: "i" SVCNO_setRealClock, "r" (r0), "r" (r1) /* input(s) */
: /* list of clobbered registers */);
其中 svc%0,中的%0 代表的意思,如何%1代表什么?