check_movei.s
来自「xen虚拟机源代码安装包」· S 代码 · 共 48 行
S
48 行
# mach: crisv32# output: fffffffe\n# output: fffffffe\n; Check basic integral-write semantics regarding flags. .include "testutils.inc" start; A write that works. Check that flags are set correspondingly. move.d d,r4 moveq -2,r5 setf c clearf p move.d [r4],r3 ax move.d r5,[r4] move.d [r4],r3 bcc 0f nop fail0: checkr3 fffffffe; A write that fails; check flags too. move.d d,r4 moveq 23,r5 setf p clearf c move.d [r4],r3 ax move.d r5,[r4] move.d [r4],r3 bcs 0f nop fail0: checkr3 fffffffe quit .datad: .dword 42424242
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?