问题 1.swiHandle(0x106, uiChannel, uiType, uiFuncAddr);中的0x106代表什么意思
swiHandle用于产生软中断, (指令 SWI)
arm 的指令系统中, SWI{cond} immed_24
0x106 就是 SWI 指令后面的 immed_24. 由于 SWI ...
acgean 发表于 2011-1-11 16:52 
昨天查了很多资料,还是搞不清swiHandle(0x106, uiChannel, uiType, uiFuncAddr);中的0x106, uiChannel, uiType, uiFuncAddr的值是怎样传递,通过堆栈传给中断?那应该有相应的过程.ADS中只是通过__swi(0x01) unsigned int swiHandle (int iHandle, unsigned int, unsigned int, unsigned int);这样一个定义而已.请高手们说具体点,小弟谢过了~~
|