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

📄 memset.s

📁 KPIT GNU Tools is a set of GNU development tools for Renesas microcontrollers.
💻 S
字号:
/* * ==================================================== * Copyright (C) 1998, 2002 by Red Hat Inc. All rights reserved. * * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. * ==================================================== */	#include "i386mach.h"	.global SYM (memset)       SOTYPE_FUNCTION(memset)SYM (memset):	pushl ebp	movl esp,ebp	pushl edi	pushl ebx	movl 8(ebp),edi	movl 12(ebp),eax	movl 16(ebp),ecx	cld#ifndef __OPTIMIZE_SIZE__	andl $255,eax	movl ecx,ebx	testl $3,edi	jne .L19	cmpl $16,ecx	jbe .L19	movl eax,edx	sall $8,eax	orl edx,eax	movl eax,edx	sall $16,edx	orl edx,eax	shrl $2,ecx	andl $3,ebx	rep	stosl	movl ebx,ecx#endif /* not __OPTIMIZE_SIZE__ */	.L19:	rep	stosb	movl 8(ebp),eax	leal -8(ebp),esp	popl ebx	popl edi	leave	ret

⌨️ 快捷键说明

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