⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testutils.inc

📁 gdb-6.8 Linux下的调试程序 最新版本
💻 INC
字号:
# Support macros for the assembly test cases.	.macro start	.text	.global startstart:	.endm	# Perform a single to double precision floating point conversion.	.macro _s2d fpr dpr	flds \fpr, fpul	_setpr	fcnvsd fpul, \dpr	_clrpr	.endm	# Set the PR (PRecision) bit in the FPSCR.	.macro _setpr	sts fpscr, r7	mov #8, r8	shll16 r8	or r8, r7	lds r7, fpscr	.endm	# Clear the PR bit.	.macro _clrpr	sts fpscr, r7	mov #8, r8	shll16 r8	not r8, r8	and r8, r7	lds r7, fpscr	.endm	# nb: this macro clobbers R7. 	.macro assert reg value	mov \value, r7	cmp/eq \reg, r7	bf wrong	.endm	.macro pass	trapa #253	.endm	.macro fail	trapa #254	.endm

⌨️ 快捷键说明

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