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

📄 timer-ucos.s

📁 君正早期ucos系统(只有早期的才不没有打包成库),MPLAYER,文件系统,图片解码,浏览,电子书,录音,想学ucos,识货的人就下吧 russblock fmradio explore set
💻 S
字号:
.file	1 "timer-ucos.c".section .mdebug.abi32.previous.section	.text.GetTimerMS,"ax",@progbits.align	2.align	5.globl	GetTimerMS.ent	GetTimerMS.type	GetTimerMS, @functionGetTimerMS:.frame	$sp,32,$31		# vars= 8, regs= 1/0, args= 16, gp= 0.mask	0x80000000,-8.fmask	0x00000000,0.set	noreorder.set	nomacroaddiu	$sp,$sp,-32sw	$31,24($sp)jal	JZ_GetTimer_20msaddiu	$4,$sp,16lw	$4,16($sp)li	$3,274857984			# 0x10620000ori	$3,$3,0x4dd3multu	$4,$3lw	$2,20($sp)mfhi	$4sll	$5,$2,4sll	$2,$2,2addu	$2,$2,$5srl	$4,$4,6lw	$31,24($sp)addu	$2,$2,$4j	$31addiu	$sp,$sp,32.set	macro.set	reorder.end	GetTimerMS.section	.text.GetTimer,"ax",@progbits.align	2.align	5.globl	GetTimer.ent	GetTimer.type	GetTimer, @functionGetTimer:.frame	$sp,32,$31		# vars= 8, regs= 1/0, args= 16, gp= 0.mask	0x80000000,-8.fmask	0x00000000,0.set	noreorder.set	nomacroaddiu	$sp,$sp,-32sw	$31,24($sp)jal	JZ_GetTimer_20msaddiu	$4,$sp,16lw	$4,20($sp)li	$3,20000			# 0x4e20mul	$5,$4,$3lw	$2,16($sp)lw	$31,24($sp)addu	$2,$5,$2j	$31addiu	$sp,$sp,32.set	macro.set	reorder.end	GetTimer.section	.text.usec_sleep,"ax",@progbits.align	2.align	5.globl	usec_sleep.ent	usec_sleep.type	usec_sleep, @functionusec_sleep:.frame	$sp,0,$31		# vars= 0, regs= 0/0, args= 0, gp= 0.mask	0x00000000,0.fmask	0x00000000,0.set	noreorder.set	nomacroj	BUFF_TimeDlynop.set	macro.set	reorder.end	usec_sleep.globl	__floatsisf.globl	__addsf3.globl	__mulsf3.section	.rodata.cst4,"aM",@progbits,4.align	2$LC0:.word	897988541.section	.text.GetRelativeTime,"ax",@progbits.align	2.align	5.globl	GetRelativeTime.ent	GetRelativeTime.type	GetRelativeTime, @functionGetRelativeTime:.frame	$sp,32,$31		# vars= 8, regs= 1/0, args= 16, gp= 0.mask	0x80000000,-8.fmask	0x00000000,0.set	noreorder.set	nomacroaddiu	$sp,$sp,-32sw	$31,24($sp)jal	JZ_GetTimer_20msaddiu	$4,$sp,16lw	$3,20($sp)li	$4,20000			# 0x4e20mul	$7,$3,$4lui	$6,%hi(RelativeTime)lw	$2,16($sp)lw	$5,%lo(RelativeTime)($6)addu	$3,$7,$2subu	$5,$3,$5srl	$2,$5,1andi	$4,$5,0x1or	$4,$4,$2bltz	$5,$L9sw	$3,%lo(RelativeTime)($6)jal	__floatsisfmove	$4,$5move	$4,$2lui	$2,%hi($LC0)jal	__mulsf3lw	$5,%lo($LC0)($2)lw	$31,24($sp)j	$31addiu	$sp,$sp,32$L9:jal	__floatsisfnopmove	$4,$2jal	__addsf3move	$5,$2move	$4,$2lui	$2,%hi($LC0)jal	__mulsf3lw	$5,%lo($LC0)($2)lw	$31,24($sp)j	$31addiu	$sp,$sp,32.set	macro.set	reorder.end	GetRelativeTime.section	.text.InitTimer,"ax",@progbits.align	2.align	5.globl	InitTimer.ent	InitTimer.type	InitTimer, @functionInitTimer:.frame	$sp,32,$31		# vars= 8, regs= 1/0, args= 16, gp= 0.mask	0x80000000,-8.fmask	0x00000000,0.set	noreorder.set	nomacroaddiu	$sp,$sp,-32sw	$31,24($sp)jal	JZ_GetTimer_20msaddiu	$4,$sp,16lw	$4,20($sp)li	$5,20000			# 0x4e20mul	$3,$4,$5lw	$2,16($sp)addu	$4,$3,$2lui	$3,%hi(RelativeTime)sw	$4,%lo(RelativeTime)($3)lw	$31,24($sp)j	$31addiu	$sp,$sp,32.set	macro.set	reorder.end	InitTimer.globl	timer_name.section	.rodata.str1.4,"aMS",@progbits,1.align	2$LC1:.ascii	"sleep ucos\000".data.align	2.type	timer_name, @object.size	timer_name, 4timer_name:.word	$LC1.local	RelativeTime.comm	RelativeTime,4,4.ident	"GCC: (GNU) 4.1.2"

⌨️ 快捷键说明

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