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

📄 mull.cgs

📁 gdb-6.8 Linux下的调试程序 最新版本
💻 CGS
字号:
# sh testcase for mul.l $rm, $rn -*- Asm -*-# mach: all# as: -isa=shcompact# ld: -m shelf32	.include "compact/testutils.inc"	start	.global mullmull:	mov #3, r0	mov #5, r1	mul.l r0, r1	# Check the result.	sts macl, r3	mov #15, r4	cmp/eq r3, r4	bf wronglxs:	# Large * small.	mov #255, r0	mov #0, r1	mul.l r0, r1	# Check the result.	sts macl, r3	mov #0, r4	cmp/eq r3, r4	bf wrongsxl:	# Small * large.	mov #0, r0	mov #255, r1	mul.l r0, r1	# Check the result.	sts macl, r3	mov #0, r4	cmp/eq r3, r4	bf wronglxl:	# Large * large.	mov #1, r0	neg r0, r0	mov #2, r1	mul.l r0, r1	# Check the result.	sts macl, r3	mov #2, r4	neg r4, r4	cmp/eq r3, r4	bf wrongokay:	passwrong:	fail

⌨️ 快捷键说明

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