warn.s

来自「GNU binutils是GNU交叉工具链中的一个源码包」· S 代码 · 共 17 行

S
17
字号
; Test ARC specific assembler warnings;; { dg-do assemble { target arc-*-* } }	b.d foo	mov r0,256	; { dg-warning "8 byte instruction in delay slot" "8 byte instruction in delay slot" }	j.d foo		; { dg-warning "8 byte jump instruction with delay slot" "8 byte jump instruction with delay slot" }	mov r0,r1foo:.extCoreRegister roscreg,45,r,can_shortcut.extCoreRegister woscreg,46,w,can_shortcut        .section .text         add    r0,woscreg,r1   ; { dg-warning "Error: attempt to read writeonly register" }         add    roscreg,r1,r2   ; { dg-warning "Error: attempt to set readonly register" }

⌨️ 快捷键说明

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