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

📄 guighl.ms

📁 一款SmartPhone的驱动代码
💻 MS
📖 第 1 页 / 共 5 页
字号:

	.loc	245
	add	%r14,0x1	; 	xadd	%r14,%r14,1

	.loc	246
	cmp	%r12,0x0
	jrne	__LX49		; 	xjrne	__L49
__LX48:				; __L48:

	.loc	252
	.def	bend,	scl	110,	type	0x0,	endef
	add	%sp,0x2		; 	xadd	%sp,%sp,8
	popn	%r3
	ret
	.def	end,	scl	111,	type	0x0,	endef
	.align	1
	.def	CopyBox,	val	CopyBox,	scl	3,	type	0x21,	endef

	.loc	255
	.def	ent,	scl	101,	type	0x0,	endef
CopyBox:
;	.frame	%sp,44,$31		# vars= 12, regs= 5/0, args= 12, extra= 0
;	.mask	0x800f0000,-4
;	.fmask	0x00000000,0
	pushn	%r3
	sub	%sp,0x6		; 	xsub	%sp,%sp,24
	ld.w	[%sp+0x3],%r12	; 	xld.w	[%sp+12],%r12
	ld.w	[%sp+0x4],%r13	; 	xld.w	[%sp+16],%r13
	ld.w	[%sp+0x5],%r14	; 	xld.w	[%sp+20],%r14
	ld.w	%r2,%r15
	ld.w	%r3,[%sp+0xb]	; 	xld.w	%r3,[%sp+44]
	.def	pGC,	val	12,	scl	9,	tag	T_GAL_GraphicContext,	size	164,	type	0x18,	endef
	.def	x1,	val	16,	scl	9,	type	0x4,	endef
	.def	y1,	val	20,	scl	9,	type	0x4,	endef
	.def	w,	val	2,	scl	17,	type	0x4,	endef
	.def	h,	val	44,	scl	9,	type	0x4,	endef
	.def	x2,	val	48,	scl	9,	type	0x4,	endef
	.def	y2,	val	52,	scl	9,	type	0x4,	endef
	.def	h,	val	3,	scl	4,	type	0x4,	endef

	.loc	256
	.def	begin,	scl	100,	type	0x0,	endef
	.def	size,	val	-1,	scl	4,	type	0x4,	endef
	.def	p,	val	1,	scl	4,	type	0x11,	endef

	.loc	259
	mlt.w	%r2,%r3

	.loc	260
	ld.w	%r12,%alr
	sll	%r12,0x1	; 	xsll	%r12,1
	ext	malloc@rh	; 	xcall	malloc
	ext	malloc@rm
	call	malloc@rl
	ld.w	%r1,%r10

	.loc	261
	cmp	%r1,0x0
	jreq	__LX57		; 	xjreq	__L57

	.loc	264
	ld.w	[%sp+0x0],%r3	; 	xld.w	[%sp],%r3
	ld.w	[%sp+0x1],%r1	; 	xld.w	[%sp+4],%r1
	ld.w	%r0,%r2
	sll	%r0,0x1		; 	xsll	%r0,1
	ld.w	[%sp+0x2],%r0	; 	xld.w	[%sp+8],%r0
	ld.w	%r12,[%sp+0x3]	; 	xld.w	%r12,[%sp+12]
	ld.w	%r13,[%sp+0x4]	; 	xld.w	%r13,[%sp+16]
	ld.w	%r14,[%sp+0x5]	; 	xld.w	%r14,[%sp+20]
	ld.w	%r15,%r2
	call	GetBox		; 	xcall	GetBox

	.loc	265
	ld.w	[%sp+0x0],%r3	; 	xld.w	[%sp],%r3
	ld.w	[%sp+0x1],%r1	; 	xld.w	[%sp+4],%r1
	ld.w	[%sp+0x2],%r0	; 	xld.w	[%sp+8],%r0
	ld.w	%r12,[%sp+0x3]	; 	xld.w	%r12,[%sp+12]
	ld.w	%r13,[%sp+0xc]	; 	xld.w	%r13,[%sp+48]
	ld.w	%r14,[%sp+0xd]	; 	xld.w	%r14,[%sp+52]
	ld.w	%r15,%r2
	ext	PutBox@rm	; 	xcall	PutBox
	call	PutBox@rl

	.loc	267
	ld.w	%r12,%r1
	ext	free@rh		; 	xcall	free
	ext	free@rm
	call	free@rl

	.loc	268
	.def	bend,	scl	110,	type	0x0,	endef
__LX57:				; __L57:
	add	%sp,0x6		; 	xadd	%sp,%sp,24
	popn	%r3
	ret
	.def	end,	scl	111,	type	0x0,	endef
	.align	1
	.def	Blit,	val	Blit,	scl	3,	type	0x21,	endef

	.loc	280
	.def	ent,	scl	101,	type	0x0,	endef
Blit:
;	.frame	%sp,44,$31		# vars= 12, regs= 5/0, args= 12, extra= 0
;	.mask	0x800f0000,-4
;	.fmask	0x00000000,0
	pushn	%r3
	sub	%sp,0x6		; 	xsub	%sp,%sp,24
	ld.w	[%sp+0x3],%r12	; 	xld.w	[%sp+12],%r12
	ld.w	[%sp+0x4],%r13	; 	xld.w	[%sp+16],%r13
	ld.w	[%sp+0x5],%r14	; 	xld.w	[%sp+20],%r14
	ld.w	%r2,%r15
	ld.w	%r3,[%sp+0xb]	; 	xld.w	%r3,[%sp+44]
	.def	DstpGC,	val	12,	scl	9,	tag	T_GAL_GraphicContext,	size	164,	type	0x18,	endef
	.def	DstX,	val	16,	scl	9,	type	0x4,	endef
	.def	DstY,	val	20,	scl	9,	type	0x4,	endef
	.def	w,	val	2,	scl	17,	type	0x4,	endef
	.def	h,	val	44,	scl	9,	type	0x4,	endef
	.def	SrcpGC,	val	48,	scl	9,	tag	T_GAL_GraphicContext,	size	164,	type	0x18,	endef
	.def	SrcX,	val	52,	scl	9,	type	0x4,	endef
	.def	SrcY,	val	56,	scl	9,	type	0x4,	endef
	.def	h,	val	3,	scl	4,	type	0x4,	endef

	.loc	281
	.def	begin,	scl	100,	type	0x0,	endef
	.def	size,	val	-1,	scl	4,	type	0x4,	endef
	.def	p,	val	1,	scl	4,	type	0x11,	endef

	.loc	284
	mlt.w	%r2,%r3

	.loc	285
	ld.w	%r12,%alr
	sll	%r12,0x1	; 	xsll	%r12,1
	ext	malloc@rh	; 	xcall	malloc
	ext	malloc@rm
	call	malloc@rl
	ld.w	%r1,%r10

	.loc	286
	cmp	%r1,0x0
	jreq	__LX59		; 	xjreq	__L59

	.loc	289
	ld.w	[%sp+0x0],%r3	; 	xld.w	[%sp],%r3
	ld.w	[%sp+0x1],%r1	; 	xld.w	[%sp+4],%r1
	ld.w	%r0,%r2
	sll	%r0,0x1		; 	xsll	%r0,1
	ld.w	[%sp+0x2],%r0	; 	xld.w	[%sp+8],%r0
	ld.w	%r12,[%sp+0xc]	; 	xld.w	%r12,[%sp+48]
	ld.w	%r13,[%sp+0xd]	; 	xld.w	%r13,[%sp+52]
	ld.w	%r14,[%sp+0xe]	; 	xld.w	%r14,[%sp+56]
	ld.w	%r15,%r2
	ext	GetBox@rm	; 	xcall	GetBox
	call	GetBox@rl

	.loc	290
	ld.w	[%sp+0x0],%r3	; 	xld.w	[%sp],%r3
	ld.w	[%sp+0x1],%r1	; 	xld.w	[%sp+4],%r1
	ld.w	[%sp+0x2],%r0	; 	xld.w	[%sp+8],%r0
	ld.w	%r12,[%sp+0x3]	; 	xld.w	%r12,[%sp+12]
	ld.w	%r13,[%sp+0x4]	; 	xld.w	%r13,[%sp+16]
	ld.w	%r14,[%sp+0x5]	; 	xld.w	%r14,[%sp+20]
	ld.w	%r15,%r2
	ext	PutBox@rm	; 	xcall	PutBox
	call	PutBox@rl

	.loc	292
	ld.w	%r12,%r1
	ext	free@rh		; 	xcall	free
	ext	free@rm
	call	free@rl

	.loc	293
	.def	bend,	scl	110,	type	0x0,	endef
__LX59:				; __L59:
	add	%sp,0x6		; 	xadd	%sp,%sp,24
	popn	%r3
	ret
	.def	end,	scl	111,	type	0x0,	endef
	.align	1
	.def	MapColor,	val	MapColor,	scl	3,	type	0x2e,	endef

	.loc	297
	.def	ent,	scl	101,	type	0x0,	endef
MapColor:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	.def	pGC,	val	12,	scl	17,	tag	T_GAL_GraphicContext,	size	164,	type	0x18,	endef
	.def	color,	val	13,	scl	17,	tag	__T2,	size	4,	type	0x18,	endef

	.loc	298
	.def	begin,	scl	100,	type	0x0,	endef
	.def	v,	val	11,	scl	4,	type	0xe,	endef

	.loc	300
	ext	0x14		; 	xld.w	%r10,[%r12+20]
	ld.w	%r10,[%r12]
	sub	%r10,0x1	; 	xsub	%r10,%r10,1
	cmp	%r10,0x1f	; 	xcmp	%r10,31
	ext	__L62@rm	; 	xjrugt	__L62
	jrugt	__L62@rl
	sll	%r10,0x2	; 	xsll	%r10,2
	ext	__L83+0x0@h	; 	xld.w	%r10,[%r10+__L83]
	ext	__L83+0x0@m
	ld.w	%r9,__L83+0x0@l
	add	%r9,%r10
	ld.w	%r10,[%r9]
	jp	%r10
	.code
	.align	2
__L83:
	.word	__L63
	.word	__L65
	.word	__L62
	.word	__L71
	.word	__L62
	.word	__L62
	.word	__L62
	.word	__L78
	.word	__L62
	.word	__L62
	.word	__L62
	.word	__L62
	.word	__L62
	.word	__L62
	.word	__L79
	.word	__L80
	.word	__L62
	.word	__L62
	.word	__L62
	.word	__L62
	.word	__L62
	.word	__L62
	.word	__L62
	.word	__L82
	.word	__L62
	.word	__L62
	.word	__L62
	.word	__L62
	.word	__L62
	.word	__L62
	.word	__L62
	.word	__L82
	.code
__L63:

	.loc	303
	ld.w	%r11,0x0

	.loc	304
	ext	0x2		; 	xld.ub	%r10,[%r13+2]
	ld.ub	%r10,[%r13]
	ext	0x2		; 	xcmp	%r10,128
	cmp	%r10,0x0
	jrule	__LX76		; 	xjrule	__L76
	ext	0x1		; 	xld.ub	%r10,[%r13+1]
	ld.ub	%r10,[%r13]
	ext	0x2		; 	xcmp	%r10,128
	cmp	%r10,0x0
	jrule	__LX76		; 	xjrule	__L76
	ld.ub	%r10,[%r13]	; 	xld.ub	%r10,[%r13]
	ext	0x2		; 	xcmp	%r10,128
	cmp	%r10,0x0
	jrule	__LX76		; 	xjrule	__L76

	.loc	305
	ld.w	%r11,0x1	; 	xld.w	%r11,0x00000001		; 1

	.loc	306
	jp	__LX76		; 	xjp	__L76
__L65:

	.loc	309
	ld.w	%r11,0x0

	.loc	310
	ext	0x2		; 	xld.ub	%r10,[%r13+2]
	ld.ub	%r10,[%r13]
	ext	0x0		; 	xcmp	%r10,63
	cmp	%r10,0x3f
	jrule	__LX66		; 	xjrule	__L66

	.loc	311
	ld.w	%r11,0x1	; 	xld.w	%r11,0x00000001		; 1
__LX66:				; __L66:

	.loc	312
	ext	0x1		; 	xld.ub	%r10,[%r13+1]
	ld.ub	%r10,[%r13]
	ext	0x0		; 	xcmp	%r10,63
	cmp	%r10,0x3f
	jrule	__LX67		; 	xjrule	__L67

	.loc	313
	add	%r11,0x2	; 	xadd	%r11,%r11,2
__LX67:				; __L67:

	.loc	314
	ld.ub	%r10,[%r13]	; 	xld.ub	%r10,[%r13]
	ext	0x0		; 	xcmp	%r10,63
	cmp	%r10,0x3f
	jrule	__LX68		; 	xjrule	__L68

	.loc	315
	add	%r11,0x4	; 	xadd	%r11,%r11,4
__LX68:				; __L68:

	.loc	316
	ext	0x2		; 	xld.ub	%r10,[%r13+2]
	ld.ub	%r10,[%r13]
	ext	0x2		; 	xcmp	%r10,191
	cmp	%r10,0x3f
	jrugt	__LX70		; 	xjrugt	__L70
	ext	0x1		; 	xld.ub	%r10,[%r13+1]
	ld.ub	%r10,[%r13]
	ext	0x2		; 	xcmp	%r10,191
	cmp	%r10,0x3f
	jrugt	__LX70		; 	xjrugt	__L70
	ld.ub	%r10,[%r13]	; 	xld.ub	%r10,[%r13]
	ext	0x2		; 	xcmp	%r10,191
	cmp	%r10,0x3f
	jrule	__LX69		; 	xjrule	__L69
__LX70:				; __L70:

	.loc	317
	add	%r11,0x8	; 	xadd	%r11,%r11,8
__LX69:				; __L69:

	.loc	319
	ld.w	%r10,%r11
	srl	%r10,0x2	; 	xsrl	%r10,2
	jp	__LX85		; 	xjp	__L85
__L71:

	.loc	323
	ld.w	%r11,0x0

	.loc	324
	ext	0x2		; 	xld.ub	%r10,[%r13+2]
	ld.ub	%r10,[%r13]
	ext	0x3		; 	xcmp	%r10,192
	cmp	%r10,0x0
	jrne	__LX72		; 	xjrne	__L72
	ext	0x1		; 	xld.ub	%r10,[%r13+1]
	ld.ub	%r10,[%r13]
	ext	0x3		; 	xcmp	%r10,192
	cmp	%r10,0x0
	jrne	__LX72		; 	xjrne	__L72
	ld.ub	%r10,[%r13]	; 	xld.ub	%r10,[%r13]
	ext	0x3		; 	xcmp	%r10,192
	cmp	%r10,0x0
	jrne	__LX72		; 	xjrne	__L72

	.loc	327
	ld.w	%r10,0x8	; 	xld.w	%r10,0x00000008		; 8
	jp	__LX85		; 	xjp	__L85
__LX72:				; __L72:

	.loc	329
	ext	0x2		; 	xld.ub	%r10,[%r13+2]
	ld.ub	%

⌨️ 快捷键说明

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