Debian Codegraph @

msvc/gmp/mpn/x86i/pentium4/copyd.asm

raw
1
2 ; Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
3 ;
4 ; This file is part of the GNU MP Library.
5 ;
6 ; The GNU MP Library is free software; you can redistribute it and/or
7 ; modify it under the terms of the GNU Lesser General Public License as
8 ; published by the Free Software Foundation; either version 2.1 of the
9 ; License, or (at your option) any later version.
10 ;
11 ; The GNU MP Library is distributed in the hope that it will be useful,
12 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 ; Lesser General Public License for more details.
15 ;
16 ; You should have received a copy of the GNU Lesser General Public
17 ; License along with the GNU MP Library; see the file COPYING.LIB. If
18 ; not, write to the Free Software Foundation, Inc., 59 Temple Place -
19 ; Suite 330, Boston, MA 02111-1307, USA.
20 ;
21 ; Translation of AT&T syntax code by Brian Gladman
22
23 section .text
24
25 global ___gmpn_copyd
26 %ifdef DLL
27 export ___gmpn_copyd
28 %endif
29
30 align 8
31 ___gmpn_copyd:
32
33 mov ecx,[12+esp]
34 mov eax,[8+esp]
35 mov edx,[4+esp]
36 mov [12+esp],ebx
37 add ecx,-1
38 js nd
39 oop:
40 mov ebx,[eax+ecx*4]
41 mov [edx+ecx*4],ebx
42 add ecx,-1
43 jns oop
44 nd:
45 mov ebx,[12+esp]
46 ret
47
48 end