testutils.inc

来自「xen虚拟机源代码安装包」· INC 代码 · 共 118 行

INC
118
字号
	.syntax	no_register_prefix	.macro	start	.text	.global	mainmain:	.endm	.macro	quit	jump	pass	nop	.endm	.macro	pass	jump	pass	nop	.endm	.macro	startnostack	start	.endm	.macro	fail	.data99:	.asciz " checkr3 failed"	.text	move.d	99b, $r10	jsr	_fail	nop	.endm	.macro	checkr3 val	cmp.d	0x\val, $r3	beq	100f	nop	.data99:	.asciz "checkr3 failed"	.text	move.d	99b, $r10	jsr	_fail	nop100:	.endm; Test the condition codes        .macro test_cc N Z V C        .if \N        bpl 9f        nop        .else        bmi 9f        nop        .endif        .if \Z        bne 9f        nop        .else        beq 9f        nop        .endif        .if \V        bvc 9f        nop        .else        bvs 9f        nop        .endif        .if \C        bcc 9f        nop        .else        bcs 9f        nop        .endif        ba 8f        nop9:	.data99:	.asciz "test_move_cc failed"	.text	move.d	99b, $r10	jsr	_fail	nop8:        .endm        .macro test_move_cc N Z V C        .if \N        bpl 9f        nop        .else        bmi 9f        nop        .endif        .if \Z        bne 9f        nop        .else        beq 9f        nop        .endif        ba 8f        nop9:	.data99:	.asciz "test_move_cc failed"	.text	move.d	99b, $r10	jsr	_fail	nop8:        .endm

⌨️ 快捷键说明

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