一段ARM下汇编代码如下:
Reset_Handler ;Reset Entry Point
[ ROM_AT_ADDRESS_ZERO
|
LDR r0, =HandleSwi ; SWI exception table address
LDR r1, =SystemSwiHandler
STR r1, [r0]
swi 0xff ;Call SWI Vector
]
修改成为at&t下汇编之后如下:
Reset_Handler
.if ROM_AT_ADDRESS_ZERO
.else
movl $HandleSwi,%r0
movl $SystemSwiHandler,%r1
movl %r1, %(r0)
???????
.endif
请问我修改的对不对?第四条语句“swi 0xff”该如何翻译呢?
还请各位高手解答一下~~~是在着急的很~~
多谢了先!