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

📄 guighl.ms

📁 一款SmartPhone的驱动代码
💻 MS
📖 第 1 页 / 共 5 页
字号:
	ld.uh	%r15,%r15
	ld.w	%r12,[%sp+0x0]	; 	xld.w	%r12,[%sp]
	ld.w	%r13,%r3
	ld.w	%r14,%r0
	call	DrawPixel	; 	xcall	DrawPixel

	.loc	133
	add	%r0,0x1		; 	xadd	%r0,%r0,1
	cmp	%r0,%r2
	jrlt	__LX27		; 	xjrlt	__L27
__LX25:				; __L25:

	.loc	139
	.def	bend,	scl	110,	type	0x0,	endef
	add	%sp,0x1		; 	xadd	%sp,%sp,4
	popn	%r3
	ret
	.def	end,	scl	111,	type	0x0,	endef
	.align	1
	.def	GetVLine,	val	GetVLine,	scl	3,	type	0x21,	endef

	.loc	142
	.def	ent,	scl	101,	type	0x0,	endef
GetVLine:
;	.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	x,	val	13,	scl	17,	type	0x4,	endef
	.def	y,	val	14,	scl	17,	type	0x4,	endef
	.def	h,	val	15,	scl	17,	type	0x4,	endef
	.def	buf,	val	4,	scl	9,	type	0x11,	endef

	.loc	143
	.def	begin,	scl	100,	type	0x0,	endef
	.def	i,	val	11,	scl	4,	type	0x4,	endef
	.def	pData,	val	4,	scl	4,	type	0x1d,	endef
	.def	pTemp,	val	5,	scl	4,	type	0x12,	endef

	.loc	147
	ext	0x44		; 	xld.w	%r5,[%r12+68]
	ld.w	%r5,[%r12]

	.loc	148
	ld.w	%r4,[%sp+0x1]	; 	xld.w	%r4,[%sp+4]

	.loc	150
	ld.w	%r11,%r14
	ld.w	%r10,%r11
	add	%r10,%r15
	cmp	%r11,%r10
	jrge	__LX31		; 	xjrge	__L31
	sll	%r13,0x1	; 	xsll	%r13,1
	add	%r14,%r15
__LX33:				; __L33:

	.loc	152
	ext	0x18		; 	xld.w	%r10,[%r12+24]
	ld.w	%r10,[%r12]
	mlt.w	%r11,%r10
	ld.w	%r10,%r5
	ld.w	%r6,%alr
	add	%r10,%r6
	ld.w	%r6,%r13
	add	%r6,%r10
	ld.w	%r10,%r6
	ld.uh	%r10,[%r10]	; 	xld.uh	%r10,[%r10]
	ld.h	[%r4],%r10	; 	xld.h	[%r4],%r10
	add	%r4,0x2		; 	xadd	%r4,%r4,2

	.loc	150
	add	%r11,0x1	; 	xadd	%r11,%r11,1
	cmp	%r11,%r14
	jrlt	__LX33		; 	xjrlt	__L33
__LX31:				; __L31:

	.loc	154
	.def	bend,	scl	110,	type	0x0,	endef
	ret
	.def	end,	scl	111,	type	0x0,	endef
	.align	1
	.def	PutBox,	val	PutBox,	scl	3,	type	0x21,	endef

	.loc	157
	.def	ent,	scl	101,	type	0x0,	endef
PutBox:
;	.frame	%sp,36,$31		# vars= 16, regs= 5/0, args= 0, extra= 0
;	.mask	0x800f0000,-4
;	.fmask	0x00000000,0
	pushn	%r3
	sub	%sp,0x4		; 	xsub	%sp,%sp,16
	ld.w	%r3,%r12
	ld.w	%r2,%r14
	ld.w	[%sp+0x0],%r15	; 	xld.w	[%sp],%r15
	ld.w	%r0,[%sp+0x9]	; 	xld.w	%r0,[%sp+36]
	ld.w	%r11,[%sp+0xb]	; 	xld.w	%r11,[%sp+44]
	ld.w	[%sp+0x1],%r11	; 	xld.w	[%sp+4],%r11
	.def	pGC,	val	3,	scl	17,	tag	T_GAL_GraphicContext,	size	164,	type	0x18,	endef
	.def	x,	val	13,	scl	17,	type	0x4,	endef
	.def	y,	val	2,	scl	17,	type	0x4,	endef
	.def	w,	val	0,	scl	9,	type	0x4,	endef
	.def	h,	val	36,	scl	9,	type	0x4,	endef
	.def	buf,	val	40,	scl	9,	type	0x11,	endef
	.def	BufLen,	val	44,	scl	9,	type	0x4,	endef
	.def	h,	val	0,	scl	4,	type	0x4,	endef

	.loc	158
	.def	begin,	scl	100,	type	0x0,	endef
	.def	pData,	val	1,	scl	4,	type	0x12,	endef
	.def	srcwidth,	val	4,	scl	1,	type	0x4,	endef
	.def	pTempAddr,	val	8,	scl	1,	type	0x12,	endef

	.loc	164
	ext	0x44		; 	xld.w	%r11,[%r3+68]
	ld.w	%r11,[%r3]
	ld.w	[%sp+0x2],%r11	; 	xld.w	[%sp+8],%r11

	.loc	165
	ld.w	%r1,[%sp+0xa]	; 	xld.w	%r1,[%sp+40]

	.loc	169
	cmp	%r0,0x0
	jreq	__LX37		; 	xjreq	__L37
	sll	%r13,0x1	; 	xsll	%r13,1
	ld.w	[%sp+0x3],%r13	; 	xld.w	[%sp+12],%r13
__LX38:				; __L38:

	.loc	171
	.def	begin,	scl	100,	type	0x0,	endef

	.loc	172
	ext	0x18		; 	xld.w	%r10,[%r3+24]
	ld.w	%r10,[%r3]
	mlt.w	%r2,%r10
	ld.w	%r12,[%sp+0x2]	; 	xld.w	%r12,[%sp+8]
	ld.w	%r11,%alr
	add	%r12,%r11
	ld.w	%r11,[%sp+0x3]	; 	xld.w	%r11,[%sp+12]
	add	%r12,%r11
	ld.w	%r13,%r1
	ld.w	%r14,[%sp+0x0]	; 	xld.w	%r14,[%sp]
	sll	%r14,0x1	; 	xsll	%r14,1
	ext	memcpy@rh	; 	xcall	memcpy
	ext	memcpy@rm
	call	memcpy@rl

	.loc	173
	ld.w	%r11,[%sp+0x1]	; 	xld.w	%r11,[%sp+4]
	add	%r1,%r11

	.loc	174
	sub	%r0,0x1		; 	xsub	%r0,%r0,1

	.loc	175
	add	%r2,0x1		; 	xadd	%r2,%r2,1

	.loc	176
	.def	bend,	scl	110,	type	0x0,	endef
	cmp	%r0,0x0
	jrne	__LX38		; 	xjrne	__L38
__LX37:				; __L37:

	.loc	183
	.def	bend,	scl	110,	type	0x0,	endef
	add	%sp,0x4		; 	xadd	%sp,%sp,16
	popn	%r3
	ret
	.def	end,	scl	111,	type	0x0,	endef
	.align	1
	.def	GetBox,	val	GetBox,	scl	3,	type	0x21,	endef

	.loc	186
	.def	ent,	scl	101,	type	0x0,	endef
GetBox:
;	.frame	%sp,36,$31		# vars= 16, regs= 5/0, args= 0, extra= 0
;	.mask	0x800f0000,-4
;	.fmask	0x00000000,0
	pushn	%r3
	sub	%sp,0x4		; 	xsub	%sp,%sp,16
	ld.w	%r3,%r12
	ld.w	%r2,%r14
	ld.w	[%sp+0x0],%r15	; 	xld.w	[%sp],%r15
	ld.w	%r0,[%sp+0x9]	; 	xld.w	%r0,[%sp+36]
	ld.w	%r11,[%sp+0xb]	; 	xld.w	%r11,[%sp+44]
	ld.w	[%sp+0x1],%r11	; 	xld.w	[%sp+4],%r11
	.def	pGC,	val	3,	scl	17,	tag	T_GAL_GraphicContext,	size	164,	type	0x18,	endef
	.def	x,	val	13,	scl	17,	type	0x4,	endef
	.def	y,	val	2,	scl	17,	type	0x4,	endef
	.def	w,	val	0,	scl	9,	type	0x4,	endef
	.def	h,	val	36,	scl	9,	type	0x4,	endef
	.def	buf,	val	40,	scl	9,	type	0x11,	endef
	.def	BufLen,	val	44,	scl	9,	type	0x4,	endef
	.def	h,	val	0,	scl	4,	type	0x4,	endef

	.loc	187
	.def	begin,	scl	100,	type	0x0,	endef
	.def	pData,	val	1,	scl	4,	type	0x12,	endef
	.def	dstwidth,	val	4,	scl	1,	type	0x4,	endef
	.def	pTempAddr,	val	8,	scl	1,	type	0x12,	endef

	.loc	192
	ext	0x44		; 	xld.w	%r11,[%r3+68]
	ld.w	%r11,[%r3]
	ld.w	[%sp+0x2],%r11	; 	xld.w	[%sp+8],%r11

	.loc	193
	ld.w	%r1,[%sp+0xa]	; 	xld.w	%r1,[%sp+40]

	.loc	195
	cmp	%r0,0x0
	jreq	__LX43		; 	xjreq	__L43
	sll	%r13,0x1	; 	xsll	%r13,1
	ld.w	[%sp+0x3],%r13	; 	xld.w	[%sp+12],%r13
__LX44:				; __L44:

	.loc	197
	.def	begin,	scl	100,	type	0x0,	endef

	.loc	198
	ext	0x18		; 	xld.w	%r10,[%r3+24]
	ld.w	%r10,[%r3]
	mlt.w	%r2,%r10
	ld.w	%r13,[%sp+0x2]	; 	xld.w	%r13,[%sp+8]
	ld.w	%r11,%alr
	add	%r13,%r11
	ld.w	%r12,%r1
	ld.w	%r11,[%sp+0x3]	; 	xld.w	%r11,[%sp+12]
	add	%r13,%r11
	ld.w	%r14,[%sp+0x0]	; 	xld.w	%r14,[%sp]
	sll	%r14,0x1	; 	xsll	%r14,1
	ext	memcpy@rh	; 	xcall	memcpy
	ext	memcpy@rm
	call	memcpy@rl

	.loc	199
	ld.w	%r11,[%sp+0x1]	; 	xld.w	%r11,[%sp+4]
	add	%r1,%r11

	.loc	200
	sub	%r0,0x1		; 	xsub	%r0,%r0,1

	.loc	201
	add	%r2,0x1		; 	xadd	%r2,%r2,1

	.loc	202
	.def	bend,	scl	110,	type	0x0,	endef
	cmp	%r0,0x0
	jrne	__LX44		; 	xjrne	__L44
__LX43:				; __L43:

	.loc	203
	.def	bend,	scl	110,	type	0x0,	endef
	add	%sp,0x4		; 	xadd	%sp,%sp,16
	popn	%r3
	ret
	.def	end,	scl	111,	type	0x0,	endef
	.align	1
	.def	PutBoxMask,	val	PutBoxMask,	scl	3,	type	0x21,	endef

	.loc	215
	.def	ent,	scl	101,	type	0x0,	endef
PutBoxMask:
;	.frame	%sp,28,$31		# vars= 8, regs= 5/0, args= 0, extra= 0
;	.mask	0x800f0000,-4
;	.fmask	0x00000000,0
	pushn	%r3
	sub	%sp,0x2		; 	xsub	%sp,%sp,8
	ld.w	%r0,%r12
	ld.w	[%sp+0x0],%r13	; 	xld.w	[%sp],%r13
	ld.w	%r3,%r15
	ld.w	%r12,[%sp+0x7]	; 	xld.w	%r12,[%sp+28]
	ld.w	%r1,[%sp+0xa]	; 	xld.w	%r1,[%sp+40]
	.def	pGC,	val	0,	scl	17,	tag	T_GAL_GraphicContext,	size	164,	type	0x18,	endef
	.def	x,	val	0,	scl	9,	type	0x4,	endef
	.def	y,	val	14,	scl	17,	type	0x4,	endef
	.def	w,	val	3,	scl	17,	type	0x4,	endef
	.def	h,	val	28,	scl	9,	type	0x4,	endef
	.def	buf,	val	32,	scl	9,	type	0x11,	endef
	.def	BufLen,	val	36,	scl	9,	type	0x4,	endef
	.def	cxx,	val	40,	scl	9,	type	0xe,	endef
	.def	h,	val	12,	scl	4,	type	0x4,	endef
	.def	cxx,	val	1,	scl	4,	type	0xe,	endef

	.loc	216
	.def	begin,	scl	100,	type	0x0,	endef
	.def	width,	val	5,	scl	4,	type	0x4,	endef
	.def	dx,	val	7,	scl	4,	type	0x4,	endef
	.def	dstpixel,	val	4,	scl	4,	type	0xd,	endef
	.def	pData,	val	13,	scl	4,	type	0x1c,	endef
	.def	pTemp,	val	6,	scl	4,	type	0x1d,	endef
	.def	srcwidth,	val	4,	scl	1,	type	0x4,	endef
	.def	pTempAddr,	val	15,	scl	4,	type	0x12,	endef

	.loc	220
	ld.w	%r2,[%sp+0x9]	; 	xld.w	%r2,[%sp+36]
	ld.w	[%sp+0x1],%r2	; 	xld.w	[%sp+4],%r2

	.loc	224
	ext	0x44		; 	xld.w	%r15,[%r0+68]
	ld.w	%r15,[%r0]

	.loc	225
	ld.w	%r13,[%sp+0x8]	; 	xld.w	%r13,[%sp+32]

	.loc	229
	cmp	%r12,0x0
	jreq	__LX48		; 	xjreq	__L48
__LX49:				; __L49:

	.loc	231
	ld.w	%r5,%r3

	.loc	232
	ld.w	%r7,[%sp+0x0]	; 	xld.w	%r7,[%sp]

	.loc	233
	ld.w	%r6,%r13

	.loc	234
	cmp	%r5,0x0
	jreq	__LX51		; 	xjreq	__L51
__LX52:				; __L52:

	.loc	236
	ld.uh	%r4,[%r6]	; 	xld.uh	%r4,[%r6]
	add	%r6,0x2		; 	xadd	%r6,%r6,2

	.loc	238
	ld.uh	%r10,%r4
	cmp	%r10,%r1
	jreq	__LX53		; 	xjreq	__L53

	.loc	239
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	mlt.w	%r14,%r10
	ld.w	%r10,%r7
	sll	%r10,0x1	; 	xsll	%r10,1
	ld.w	%r11,%r15
	ld.w	%r2,%alr
	add	%r11,%r2
	add	%r10,%r11
	ld.h	[%r10],%r4	; 	xld.h	[%r10],%r4
__LX53:				; __L53:

	.loc	240
	sub	%r5,0x1		; 	xsub	%r5,%r5,1

	.loc	241
	add	%r7,0x1		; 	xadd	%r7,%r7,1

	.loc	242
	cmp	%r5,0x0
	jrne	__LX52		; 	xjrne	__L52
__LX51:				; __L51:

	.loc	243
	ld.w	%r2,[%sp+0x1]	; 	xld.w	%r2,[%sp+4]
	add	%r13,%r2

	.loc	244
	sub	%r12,0x1	; 	xsub	%r12,%r12,1

⌨️ 快捷键说明

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