亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? balib.s

?? vxwork源代碼
?? S
?? 第 1 頁 / 共 2 頁
字號:
/* bALib.s - i80x86 buffer manipulation library assembly routines *//* Copyright 1984-2001 Wind River Systems, Inc. *//*modification history--------------------01d,22aug01,hdn  added FUNC/FUNC_LABEL, replaced .align with .balign01c,01jun93,hdn  updated to 5.1.		  - fixed #else and #endif		  - changed VOID to void		  - changed ASMLANGUAGE to _ASMLANGUAGE		  - changed copyright notice01b,13oct92,hdn  debugged.01a,07apr92,hdn  written based on TRON version.*//*DESCRIPTIONThis library contains optimized versions of the routines in bLib.cfor manipulating buffers of variable-length byte arrays.NOMANUALINTERNALi80386 transfer bus cycles for bytes, words, dwords. -------------------------------------+----+----------------+---------------+  byte length of logical operand      	 1         2                4 -------------------------------------+----+----------------+---------------+  physical byte address in memory      	xx   00  01  10  11   00  01  10  11 -------------------------------------+----+----------------+---------------+  transfer cycles over 32bits data bus	 b    w   w   w  hb    d  hb  hw  h3					                 lb       l3  lw  lb -------------------------------------+----+----------------+---------------+  transfer cycles over 16bits data bus	 b    w  lb   w  hb   lw  hb  hw  mw					         hb      lb   hw  lb  lw  hb							 	  mw      lb -------------------------------------+----+----------------+---------------+	b: byte transfer		l: low order portion	w: word transfer		h: high order portion	3: 3-byte transfer		m: middle order portion	d: dword transfer		x: don't careSEE ALSO: bLib(1), strLib(1)*/#define _ASMLANGUAGE#include "vxWorks.h"#include "asm.h"	.data	.globl  FUNC(copyright_wind_river)	.long   FUNC(copyright_wind_river)#ifndef	PORTABLE	/* internals */	.globl	GTEXT(bcopy)	.globl	GTEXT(bcopyBytes)	.globl	GTEXT(bcopyWords)	.globl	GTEXT(bcopyLongs)	.globl	GTEXT(bfill)	.globl	GTEXT(bfillBytes)	.globl	GTEXT(bfillWords)	.globl	GTEXT(bfillLongs)	.text	.balign 16/********************************************************************************* bcopy - copy one buffer to another** This routine copies the first `nbytes' characters from* `source' to `destination'.  Overlapping buffers are handled correctly.* The copy is optimized by copying 4 bytes at a time if possible,* (see bcopyBytes (2) for copying a byte at a time only).** SEE ALSO: bcopyBytes (2)** NOMANUAL - manual entry in bLib (1)* void bcopy (source, destination, nbytes)*     char *source;       /* pointer to source buffer      **     char *destination;  /* pointer to destination buffer **     int nbytes;         /* number of bytes to copy       **/FUNC_LABEL(bcopy)	pushl	%ebp	movl	%esp,%ebp	pushl	%esi	pushl	%edi	pushf	/* put src in %esi, dest in %edi, and count in %edx */	movl	ARG1(%ebp),%esi		/* source */	movl	ARG2(%ebp),%edi		/* destination */	movl	ARG3(%ebp),%edx		/* nbytes */	/* Find out if there is an overlap problem.	 * We have to copy backwards if destination lies within source,	 * i.e. ((destination - source) > 0 && < nbytes) */	movl	%edi,%eax		/* destination */	subl	%esi,%eax		/* - source */	jle	bCopyFwd0		/* <= 0 means copy forward */	cmpl	%edx,%eax		/* compare to nbytes */	jl	bCopyBck0		/* < nbytes means copy backwards */bCopyFwd0:	cld	/* if length is less than 10, it's cheaper to do a byte copy */	cmpl	$10,%edx		/* test count */	jl	bCopyFwd5		/* do byte copy */	/* If destination and source are not both odd, or both even,	 * we must do a byte copy, rather than a long copy */	movl	%edi,%eax	xorl	%esi,%eax		/* %eax = destination ^ source */	btl	$0,%eax	jc	bCopyFwd5	/* If the buffers are odd-aligned, copy the first 1 - 3 bytes */	movl	%esi,%eax	andl	$3,%eax			/* %eax has 0 - 3 */	je	bCopyFwd1		/* if long-aligned ? */	movl	%eax,%ecx		/* %ecx has count */	rep		movsb				/* copy the bytes */	subl	%eax,%edx		/* decrement count by %eax */bCopyFwd1:	/* Since we're copying 4 bytes at a crack, divide count by 4.	 * Keep the remainder in %edx, so we can do those bytes at the 	 * end of the loop. */	movl	%edx,%ecx	shrl	$2,%ecx			/* count /= 4 */	je	bCopyFwd2		/* do the test first */	rep	movsl				/* copy long by long */bCopyFwd2:	andl	$3,%edx			/* remainder in %edx */	/* Copy byte by byte */bCopyFwd5:	movl	%edx,%ecx		/* Set up %ecx as the loop ctr */	cmpl	$0,%ecx	je	bCopy6			/* do the test first */	rep	movsb				/* copy byte by byte */	jmp	bCopy6	/* ---------------------- copy backwards ---------------------- */	.balign 16,0x90bCopyBck0:	addl	%edx,%esi	addl	%edx,%edi	std	/* if length is less than 10, it's cheaper to do a byte copy */	cmpl	$10,%edx		/* test count */	jl	bCopyBck5		/* do byte copy */	/* If destination and source are not both odd, or both even,	 * we must do a byte copy, rather than a long copy */	movl	%edi,%eax	xorl	%esi,%eax		/* %eax = destination ^ source */	btl	$0,%eax	jc	bCopyBck5	/* If the buffers are odd-aligned, copy the first 1 - 3 bytes */	movl	%esi,%eax	andl	$3,%eax			/* %eax has 0 - 3 */	je	bCopyBck1		/* if long-aligned ? */	movl	%eax,%ecx		/* %ecx has count */	decl	%esi	decl	%edi	rep		movsb				/* copy the bytes */	incl	%esi	incl	%edi	subl	%eax,%edx		/* decrement count by %eax */bCopyBck1:	/* Since we're copying 4 bytes at a crack, divide count by 4.	 * Keep the remainder in %edx, so we can do those bytes at the 	 * end of the loop. */	movl	%edx,%ecx	shrl	$2,%ecx			/* count /= 4 */	je	bCopyBck2		/* do the test first */	addl	$-4,%esi	addl	$-4,%edi	rep	movsl				/* copy long by long */	addl	$4,%esi	addl	$4,%edibCopyBck2:	andl	$3,%edx			/* remainder in %edx */	/* Copy byte by byte */bCopyBck5:	movl	%edx,%ecx		/* Set up %ecx as the loop ctr */	cmpl	$0,%ecx	je	bCopy6			/* do the test first */	decl	%esi	decl	%edi	rep	movsb				/* copy byte by byte */bCopy6:	popf	popl	%edi	popl	%esi	leave	ret/********************************************************************************* bcopyBytes - copy one buffer to another a byte at a time** This routine copies the first `nbytes' characters from* `source' to `destination'.* It is identical to bcopy except that the copy is always performed* a byte at a time.  This may be desirable if one of the buffers* can only be accessed with byte instructions, as in certain byte-wide* memory-mapped peripherals.** SEE ALSO: bcopy (2)** NOMANUAL - manual entry in bLib (1)* void bcopyBytes (source, destination, nbytes)*     char *source;       /* pointer to source buffer      **     char *destination;  /* pointer to destination buffer **     int nbytes;         /* number of bytes to copy       **/	.balign 16,0x90FUNC_LABEL(bcopyBytes)	pushl	%ebp	movl	%esp,%ebp	pushl	%esi	pushl	%edi	pushf	/* put src in %esi, dest in %edi, and count in %ecx */	movl	ARG1(%ebp),%esi		/* source */	movl	ARG2(%ebp),%edi		/* destination */	movl	ARG3(%ebp),%ecx		/* count */	cmpl	$0,%ecx			/* if (count==0) */	je	bCopyB1			/*   then exit */	/* Find out if there is an overlap problem.	 * We have to copy backwards if destination lies within source,	 * i.e. ((destination - source) > 0 && < nbytes) */	cld	movl	%edi,%eax		/* destination */	subl	%esi,%eax		/* - source */	jle	bCopyB0			/* <= 0 means copy forward */	cmpl	%ecx,%eax		/* compare to nbytes */	jge	bCopyB0			/* >= nbytes means copy forward */	addl	%ecx,%esi	addl	%ecx,%edi	decl	%esi	decl	%edi	std	/* Copy the whole thing, byte by byte */bCopyB0:	rep	movsbbCopyB1:	popf	popl	%edi	popl	%esi	leave	ret/********************************************************************************* bcopyWords - copy one buffer to another a word at a time** This routine copies the first `nwords' words from* `source' to `destination'.* It is similar to bcopy except that the copy is always performed* a word at a time.  This may be desirable if one of the buffers* can only be accessed with word instructions, as in certain word-wide* memory-mapped peripherals.  The source and destination must be word-aligned.** SEE ALSO: bcopy (2)** NOMANUAL - manual entry in bLib (1)* void bcopyWords (source, destination, nwords)*     char *source;       /* pointer to source buffer      **     char *destination;  /* pointer to destination buffer **     int nwords;         /* number of words to copy       **/	.balign 16,0x90FUNC_LABEL(bcopyWords)	pushl	%ebp	movl	%esp,%ebp	pushl	%esi	pushl	%edi	pushf

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久亚洲二区三区| 一本久道中文字幕精品亚洲嫩| 国产乱妇无码大片在线观看| 欧美福利一区二区| 国产精品欧美一级免费| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 亚洲视频一区二区在线观看| 欧日韩精品视频| 国产日产亚洲精品系列| 欧美日韩国产高清一区二区| 美腿丝袜亚洲色图| 欧美日韩国产中文| 日日摸夜夜添夜夜添国产精品| 一区二区三区在线看| 精品国产乱码久久久久久影片| 欧洲一区二区三区在线| 亚洲精品亚洲人成人网在线播放| 欧美精品一区二区在线观看| 欧美日韩一二区| 欧洲一区在线电影| 欧美本精品男人aⅴ天堂| 欧美日韩精品一区二区三区蜜桃| 99精品国产视频| 久久成人麻豆午夜电影| 国产不卡免费视频| 国产精品一区二区三区四区| 久久国产欧美日韩精品| 国产精品久久久久天堂| 日本一区二区三区国色天香| 精品国产伦一区二区三区观看体验 | 555www色欧美视频| 日韩一区欧美二区| 国产最新精品免费| 日韩av电影一区| 日产国产高清一区二区三区 | 99视频在线精品| proumb性欧美在线观看| 婷婷综合在线观看| 成人高清免费在线播放| 成人免费视频caoporn| av一区二区不卡| 亚洲激情图片小说视频| 麻豆视频观看网址久久| 美女看a上一区| 国产一区二区三区不卡在线观看| 久久国产欧美日韩精品| 99re这里只有精品视频首页| 日本丶国产丶欧美色综合| 99国产麻豆精品| 欧美另类久久久品| 久久久蜜桃精品| 亚洲欧洲精品成人久久奇米网 | 日韩电影在线观看一区| 日韩高清欧美激情| 国产精品一区二区视频| 麻豆国产欧美日韩综合精品二区 | 亚洲精品视频一区二区| 天涯成人国产亚洲精品一区av| 水野朝阳av一区二区三区| 国产一区二区三区在线观看免费视频| 国产精品1区2区3区| 欧美精品丝袜久久久中文字幕| 欧美mv日韩mv亚洲| 国产精品卡一卡二卡三| 亚洲成av人片一区二区| 91官网在线免费观看| 日韩欧美在线影院| 1024国产精品| 亚洲免费av高清| 91浏览器打开| 久久久国产综合精品女国产盗摄| 自拍av一区二区三区| 福利一区二区在线观看| 欧美精品久久99| 综合电影一区二区三区| 日本一区二区三区四区| 国产成人一区二区精品非洲| 91亚洲永久精品| 精品理论电影在线观看| 蜜桃精品视频在线| 欧美视频在线不卡| 国产精品乱码一区二区三区软件 | 久久国产精品99久久人人澡| 99久久久久免费精品国产| 精品少妇一区二区三区日产乱码 | 欧美日韩高清在线| 91在线精品一区二区三区| 成人h精品动漫一区二区三区| 日韩欧美在线网站| 亚洲电影你懂得| 国产成人精品三级麻豆| 国产乱子轮精品视频| 欧美国产一区在线| 狠狠色丁香婷综合久久| 欧美精选午夜久久久乱码6080| 精品国产三级电影在线观看| 国产精品一二一区| 久久久蜜桃精品| 日本成人在线不卡视频| 亚洲欧洲av在线| 色哟哟国产精品| 国产精品色呦呦| 成人精品在线视频观看| 亚洲国产成人午夜在线一区| 国产成人福利片| 国产欧美日韩另类一区| 极品少妇xxxx精品少妇偷拍| 精品日韩在线观看| 污片在线观看一区二区| 欧美精品 日韩| 久久激情五月激情| 欧美精品tushy高清| 石原莉奈在线亚洲二区| 欧美性生活大片视频| 国产精品伦理一区二区| 成人美女在线视频| 国产精品天干天干在观线| 不卡一区二区三区四区| 亚洲一区二区三区激情| 欧美精品色综合| 国产综合色在线视频区| 99久久精品国产观看| 精品一区二区成人精品| 国产亚洲欧洲997久久综合 | 欧美一区二区视频网站| 2020国产成人综合网| 91亚洲精品乱码久久久久久蜜桃| 亚洲私人黄色宅男| 色婷婷综合久久| 蜜臀av国产精品久久久久| 精品国产成人系列| 国产成人午夜视频| 国产色综合久久| 国产麻豆精品视频| 亚洲美女在线国产| 欧美伊人精品成人久久综合97| 免费成人美女在线观看.| 欧美精品一区二区三区视频| 成人污污视频在线观看| 亚洲一区二区三区在线播放| 国产成人综合在线观看| 亚洲欧洲av一区二区三区久久| 欧美日韩亚洲综合在线| 国产一区在线不卡| 亚洲制服丝袜一区| 日韩一区二区三区电影在线观看 | 免费欧美日韩国产三级电影| 中文文精品字幕一区二区| 国产传媒日韩欧美成人| 亚洲午夜影视影院在线观看| 26uuuu精品一区二区| 成人久久久精品乱码一区二区三区| 一区二区高清免费观看影视大全 | 亚洲黄色小视频| 亚洲另类在线一区| 一区二区三区四区精品在线视频| 亚洲靠逼com| 亚洲一区二区三区四区五区黄 | av午夜一区麻豆| a级精品国产片在线观看| av午夜精品一区二区三区| 一本到一区二区三区| 91麻豆精东视频| 欧美专区在线观看一区| 欧美一区二区三级| 精品理论电影在线观看| 国产精品久久一卡二卡| 综合网在线视频| 日韩精品一区第一页| 国产在线视频不卡二| 国产精品一区二区不卡| 一本久久a久久精品亚洲 | 日韩精品亚洲一区| 奇米综合一区二区三区精品视频| 久久99国产乱子伦精品免费| 国产精品123区| 一本高清dvd不卡在线观看| 欧美美女一区二区三区| 久久综合九色欧美综合狠狠| 日本一区二区电影| 一区二区三区在线观看视频| 亚洲成a人在线观看| 狠狠色综合色综合网络| 97精品电影院| 日韩一区二区三区电影| 亚洲图片激情小说| 亚洲夂夂婷婷色拍ww47| 久99久精品视频免费观看| 99麻豆久久久国产精品免费| 色综合久久中文综合久久97| 91免费精品国自产拍在线不卡| 在线播放中文一区| 国产精品丝袜一区| 日韩精品成人一区二区在线| 国产激情视频一区二区在线观看| 成人动漫av在线| 久久久噜噜噜久噜久久综合| 亚洲一区二区三区国产| 国产一二精品视频| 欧美日韩高清一区二区|