repo_id
stringlengths
5
115
size
int64
590
5.01M
file_path
stringlengths
4
212
content
stringlengths
590
5.01M
stsp/newlib-ia16
1,673
libgloss/rx/crtn.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
stsp/newlib-ia16
1,658
libgloss/rx/abort.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
stsp/newlib-ia16
1,507
libgloss/rx/time.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
stsp/newlib-ia16
5,102
libgloss/rx/crt0.S
/* Copyright (c) 2008, 2009, 2011 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, thi...
stsp/newlib-ia16
1,508
libgloss/rx/utime.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
stsp/newlib-ia16
1,508
libgloss/rx/close.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
stsp/newlib-ia16
1,593
libgloss/rx/isatty.S
/* Copyright (c) 2008, 2009 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of ...
stsp/newlib-ia16
1,508
libgloss/rx/lseek.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
stsp/newlib-ia16
1,508
libgloss/rx/write.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
stsp/newlib-ia16
1,507
libgloss/rx/open.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
stsp/newlib-ia16
1,507
libgloss/rx/argv.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
stsp/newlib-ia16
1,509
libgloss/rx/getpid.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
stsp/newlib-ia16
1,584
libgloss/rx/exit.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
stsp/newlib-ia16
1,507
libgloss/rx/link.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
stsp/newlib-ia16
1,508
libgloss/rx/chdir.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
stsp/newlib-ia16
2,945
libgloss/sparc/cygmon-crt0.S
/* * C startup code for the Fujitsu SPARClite demo board * * Copyright (c) 1995, 1996 Cygnus Support * * The authors hereby grant permission to use, copy, modify, distribute, * and license this software and its documentation for any purpose, provided * that existing copyright notices are retained in all copies a...
stsp/newlib-ia16
1,322
libgloss/sparc/crt0-701.S
/* crt0.S for the sparclet 701. At the moment, all the necessary syscalls are here. Convention has them in a separate file but libgloss is still in too much flux. */ .text .global start start: ! zero bss sethi %hi(_end), %o1 or %o1, %lo(_end), %o1 sethi %hi(_edata), %o0 or %o0, %lo (_edata), %o0 s...
stsp/newlib-ia16
1,842
libgloss/sparc/erc32-crt0.S
/* * This is based on the file srt0.s provided with the binary * distribution of the SPARC Instruction Simulator (SIS) found * at ftp://ftp.estec.esa.nl/pub/ws/wsd/erc32. */ #include "asm.h" .register %g2, #scratch .register %g3, #scratch .data .align 8 SYM(environ): .long 0 .text .glob...
stsp/newlib-ia16
4,390
libgloss/sparc/crt0.S
/* * C startup code for the Fujitsu SPARClite demo board * * Copyright (c) 1995, 1996 Cygnus Support * * The authors hereby grant permission to use, copy, modify, distribute, * and license this software and its documentation for any purpose, provided * that existing copyright notices are retained in all copies a...
stsp/newlib-ia16
19,228
libgloss/sparc/traps.S
/* * Copyright (c) 1995, 1996, 1998 Cygnus Support * * The authors hereby grant permission to use, copy, modify, distribute, * and license this software and its documentation for any purpose, provided * that existing copyright notices are retained in all copies and that this * notice is included verbatim in any d...
stsp/newlib-ia16
19,048
libgloss/arm/cpu-init/rdimon-aem.S
/* Copyright (c) 2005-2013 ARM Ltd. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the foll...
stsp/newlib-ia16
4,618
libgloss/aarch64/cpu-init/rdimon-aem-el3.S
/* Copyright (c) 2009, 2010, 2011, 2012 ARM Ltd. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions...
stsp/newlib-ia16
1,603
libgloss/or1k/boards/or1ksim.S
/* or1ksim.S -- Support for or1ksim. * * Copyright (c) 2011 Authors * * Contributor Julius Baxter <juliusbaxter@gmail.com> * * The authors hereby grant permission to use, copy, modify, distribute, * and license this software and its documentation for any purpose, provided * that existing copyright notices are r...
stsp/newlib-ia16
2,893
libgloss/or1k/boards/optimsoc.S
/* optimsoc.S -- Support for OpTiMSoC systems. * * Copyright (c) 2014 Authors * * Contributor Stefan Wallentowitz <stefan.wallentowitz@saunalahti.fi> * * The authors hereby grant permission to use, copy, modify, distribute, * and license this software and its documentation for any purpose, provided * that exist...
stsp/newlib-ia16
1,626
libgloss/or1k/boards/ordb1a3pe1500.S
/* ordb1a3pe1500.S -- Support for orpsocv2 Actel board. * * Copyright (c) 2011 Authors * * Contributor Julius Baxter <juliusbaxter@gmail.com> * * The authors hereby grant permission to use, copy, modify, distribute, * and license this software and its documentation for any purpose, provided * that existing copy...
stsp/newlib-ia16
1,624
libgloss/or1k/boards/orpsocrefdesign.S
/* orpsocrefdesign.S -- Support for the orpsoc reference design. * * Copyright (c) 2011 Authors * * Contributor Julius Baxter <juliusbaxter@gmail.com> * * The authors hereby grant permission to use, copy, modify, distribute, * and license this software and its documentation for any purpose, provided * that exis...
stsp/newlib-ia16
1,628
libgloss/or1k/boards/or1ksim-uart.S
/* or1ksim-uart.S -- Support for or1ksim with UART support. * * Copyright (c) 2011 Authors * * Contributor Julius Baxter <juliusbaxter@gmail.com> * * The authors hereby grant permission to use, copy, modify, distribute, * and license this software and its documentation for any purpose, provided * that existing ...
stsp/newlib-ia16
1,618
libgloss/or1k/boards/ml501.S
/* ml501.S -- Support for the Xilinx ML501 board. * * Copyright (c) 2011 Authors * * Contributor Julius Baxter <juliusbaxter@gmail.com> * * The authors hereby grant permission to use, copy, modify, distribute, * and license this software and its documentation for any purpose, provided * that existing copyright ...
stsp/newlib-ia16
1,624
libgloss/or1k/boards/ml509.S
/* ml509.S -- Support for the Xilinx ML509 board (XUPV5). * * Copyright (c) 2014 Authors * * Contributor Matthew Hicks <firefalcon@gmail.com> * * The authors hereby grant permission to use, copy, modify, distribute, * and license this software and its documentation for any purpose, provided * that existing copy...
stsp/newlib-ia16
1,674
libgloss/or1k/boards/ordb2a.S
/* ordb2a.S -- Support for the new OpenRISC ORPSoC reference design. * * Copyright (c) 2012 Authors * * Contributor Olof Kindgren <olof.kindgren@gmail.com> * * The authors hereby grant permission to use, copy, modify, distribute, * and license this software and its documentation for any purpose, provided * that...
stsp/newlib-ia16
1,795
libgloss/or1k/boards/tmpl.S
/* tmpl.S -- Template for new boards. * * Copyright (c) 2014 Authors * * Contributor Stefan Wallentowitz <stefan.wallentowitz@saunalahti.fi> * * The authors hereby grant permission to use, copy, modify, distribute, * and license this software and its documentation for any purpose, provided * that existing copyr...
stsp/newlib-ia16
1,627
libgloss/or1k/boards/atlys.S
/* atlys.S -- Support for the Atlys board. * * Copyright (c) 2012 Authors * * Contributor Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> * * The authors hereby grant permission to use, copy, modify, distribute, * and license this software and its documentation for any purpose, provided * that existing ...
stsp/newlib-ia16
1,635
libgloss/or1k/boards/de0_nano.S
/* de0_nano.S -- Support for the DE0 nano board. * * Copyright (c) 2012 Authors * * Contributor Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> * * The authors hereby grant permission to use, copy, modify, distribute, * and license this software and its documentation for any purpose, provided * that exi...
stsp/newlib-ia16
3,131
libgloss/sparc/libsys/libsys-crt0.S
! C run time start off ! This file supports: ! ! - both 32bit pointer and 64bit pointer environments (at compile time) ! - an imposed stack bias (of 2047) (at run time) ! - medium/low and medium/anywhere code models (at run time) ! Initial stack setup: ! ! bottom of stack (higher memory address) ! ... ! text of e...
stsp/newlib-ia16
1,033
libgloss/sparc/libsys/cerror.S
! Set errno. ! This function is called by all the syscall stubs. ! ! FIXME: We assume errno is the first member of struct _reent. ! Not sure what to do about this. #include "syscallasm.h" DATA_SECTION ALIGN (4) GLOBAL (ASM_SYMBOL (errno)) ! FIXME: ASM_PRIVATE_SYMBOL ? ASM_SYMBOL (errno): WORD (0) TEXT_SECTION ...
stsp/newlib-ia16
1,215
libgloss/sparc/libsys/sbrk.S
! sbrk() system call #include "syscallasm.h" TEXT_SECTION ALIGN (4) #ifdef REENT GLOBAL (ASM_SYMBOL (_sbrk_r)) ASM_SYMBOL (_sbrk_r): mov %o0,%o5 mov %o1,%o0 #else GLOBAL (ASM_SYMBOL (sbrk)) ASM_SYMBOL (sbrk): #endif add %o0,7,%o0 andn %o0,7,%o0 sethi %hi (ASM_PRIVATE_SYMBOL (curbrk)),%o2 #ifdef __sparc_v9__ ...
stsp/newlib-ia16
2,465
newlib/libm/machine/nds32/wf_sqrt.S
/* Copyright (c) 2013-2014 Andes Technology Corporation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of condi...
stsp/newlib-ia16
2,461
newlib/libm/machine/nds32/w_sqrt.S
/* Copyright (c) 2013-2014 Andes Technology Corporation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of condi...
stsp/newlib-ia16
2,202
newlib/libc/sys/sh/crt0.S
#ifdef __SH5__ .section .data,"aw" .global ___data ___data: .section .rodata,"a" .global ___rodata ___rodata: #if __SH5__ == 64 .section .text,"ax" #define LOAD_ADDR(sym, reg) \ movi (sym >> 48) & 65535, reg; \ shori (sym >> 32) & 65535, reg; \ shori (sym >> 16) & 65535, reg; \ shori sym & 65535, reg #else ...
stsp/newlib-ia16
1,538
newlib/libc/sys/a29khif/_open.S
; @(#)_open.s 1.4 90/10/14 21:57:30, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distribute th...
stsp/newlib-ia16
2,081
newlib/libc/sys/a29khif/read.S
; @(#)_read.s 1.4 90/10/14 21:57:32, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distribute th...
stsp/newlib-ia16
2,124
newlib/libc/sys/a29khif/stubs.S
; ; ; File of stubs so that unix applications can link into a HIF monitor ; ; sac@cygnus.com .text .global _sysalloc _sysalloc: const gr121,__sysalloc consth gr121,__sysalloc jmpi gr121 .global _sysfree _sysfree: const gr121,__sysfree consth gr121,__sysfree jmpi gr121 .global _cycles _cycles: const gr12...
stsp/newlib-ia16
1,655
newlib/libc/sys/a29khif/_tmpnam.S
; @(#)_tmpnam.s 1.2 90/10/14 21:57:36, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distribute ...
stsp/newlib-ia16
1,306
newlib/libc/sys/a29khif/_fstat.S
.file "_fstat.c" .sect .lit,lit gcc2_compiled.: .text .align 4 .global __fstat ;; syscalls used now -- .global _fstat .word 0x40000 __fstat: ;; syscalls used now -- _fstat: sub gr1,gr1,32 asgeu V_SPILL,gr1,gr126 add lr1,gr1,48 sll lr5,lr10,0 const gr116,__iostat consth gr116,__iostat calli lr0,gr116 sll ...
stsp/newlib-ia16
1,507
newlib/libc/sys/a29khif/_ioctl.S
; @(#)_ioctl.s 1.2 90/10/14 21:57:25, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distribute t...
stsp/newlib-ia16
1,533
newlib/libc/sys/a29khif/_read.S
; @(#)_read.s 1.4 90/10/14 21:57:32, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distribute th...
stsp/newlib-ia16
1,560
newlib/libc/sys/a29khif/_cycles.S
; @(#)_cycles.s 1.2 90/10/14 21:57:21, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distribute...
stsp/newlib-ia16
1,559
newlib/libc/sys/a29khif/rename.S
; @(#)rename.s 1.3 90/10/14 21:57:54, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distribute t...
stsp/newlib-ia16
1,587
newlib/libc/sys/a29khif/_close.S
; @(#)_close.s 1.4 90/10/14 21:57:20, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distribute t...
stsp/newlib-ia16
7,204
newlib/libc/sys/a29khif/crt0.S
; @(#)crt0.s 2.7 90/10/15 13:17:57, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1988, 1989, 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and dist...
stsp/newlib-ia16
1,557
newlib/libc/sys/a29khif/_setvec.S
; @(#)_setvec.s 1.2 90/10/14 21:57:35, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distribute ...
stsp/newlib-ia16
1,982
newlib/libc/sys/a29khif/alloc.S
; ;(#)_alloc.s 1.4 90/10/14 21:57:19, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1989, 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distr...
stsp/newlib-ia16
1,533
newlib/libc/sys/a29khif/clock.S
; @(#)clock.s 1.3 90/10/14 21:57:43, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distribute th...
stsp/newlib-ia16
1,614
newlib/libc/sys/a29khif/_write.S
; @(#)_write.s 1.4 90/10/14 21:57:37, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distribute t...
stsp/newlib-ia16
1,334
newlib/libc/sys/a29khif/vec.S
; @(#)vec.s 1.2 90/10/14 21:58:01, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distribute this...
stsp/newlib-ia16
1,558
newlib/libc/sys/a29khif/_settrap.S
; @(#)_settrap.s 2.2 90/10/14 21:57:34, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distribute...
stsp/newlib-ia16
12,702
newlib/libc/sys/a29khif/signal.S
;@(#)signal.s 2.15 90/10/14 21:57:55, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distribute t...
stsp/newlib-ia16
1,507
newlib/libc/sys/a29khif/_setim.S
; @(#)_setim.s 2.2 90/10/14 21:57:33, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distribute t...
stsp/newlib-ia16
1,500
newlib/libc/sys/a29khif/_exit.S
; @(#)_exit.s 1.2 90/10/14 21:57:22, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distribute th...
stsp/newlib-ia16
1,514
newlib/libc/sys/a29khif/_iowait.S
; @(#)_iowait.s 1.3 90/10/14 21:57:27, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distribute ...
stsp/newlib-ia16
1,522
newlib/libc/sys/a29khif/getargs.S
; @(#)getargs.s 1.2 90/10/14 21:57:44, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distribute ...
stsp/newlib-ia16
1,543
newlib/libc/sys/a29khif/systime.S
; @(#)systime.s 1.2 90/10/14 21:57:59, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distribute ...
stsp/newlib-ia16
2,125
newlib/libc/sys/a29khif/_alloc.S
; @(#)_alloc.s 1.4 90/10/14 21:57:19, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1989, 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distri...
stsp/newlib-ia16
1,511
newlib/libc/sys/a29khif/_query.S
; @(#)_query.s 2.2 90/10/14 21:57:31, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distribute t...
stsp/newlib-ia16
1,505
newlib/libc/sys/a29khif/_gettz.S
; @(#)_gettz.s 2.2 90/10/14 21:57:24, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distribute t...
stsp/newlib-ia16
1,579
newlib/libc/sys/a29khif/_iostat.S
;---------------------------------------------------------------------------- ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user th...
stsp/newlib-ia16
1,614
newlib/libc/sys/a29khif/_lseek.S
; @(#)_lseek.s 1.4 90/10/14 21:57:28, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distribute t...
stsp/newlib-ia16
1,577
newlib/libc/sys/a29khif/remove.S
; @(#)remove.s 1.3 90/10/14 21:57:53, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distribute t...
stsp/newlib-ia16
1,528
newlib/libc/sys/a29khif/_getpsiz.S
; @(#)_getpsiz.s 1.2 90/10/14 21:57:23, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distribute...
stsp/newlib-ia16
1,721
newlib/libc/sys/a29khif/getenv.S
; @(#)getenv.s 1.4 90/10/14 21:57:45, AMD ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright 1990 Advanced Micro Devices, Inc. ; ; This software is the property of Advanced Micro Devices, Inc (AMD) which ; specifically grants the user the right to modify, use and distribute t...
stsp/newlib-ia16
12,512
newlib/libc/sys/arm/crt0.S
#include "newlib.h" #include "arm.h" #include "swi.h" /* ANSI concatenation macros. */ #define CONCAT(a, b) CONCAT2(a, b) #define CONCAT2(a, b) a ## b #ifdef __USER_LABEL_PREFIX__ #define FUNCTION( name ) CONCAT (__USER_LABEL_PREFIX__, name) #else #error __USER_LABEL_PREFIX is not defined #endif #ifdef HAVE_INITFIN...
stsp/newlib-ia16
5,015
newlib/libc/sys/arm/trap.S
/* Run-time exception support */ #if !defined(__thumb2__) #include "swi.h" /* .text is used instead of .section .text so it works with arm-aout too. */ .text .align 0 .global __rt_stkovf_split_big .global __rt_stkovf_split_small /* The following functions are provided for software st...
stsp/newlib-ia16
1,596
newlib/libc/sys/h8300hms/crt0.S
; h8/300 and h8/300h start up file. #include "setarch.h" #ifdef __H8300__ .section .text .global _start _start: mov.w #_stack,sp mov.w #_edata,r0 mov.w #_end,r1 sub.w r2,r2 .Loop: mov.w r2,@r0 adds #2,r0 cmp r1,r0 blo .Loop #ifdef __ELF__ mov.l #__fini,r0 jsr @_atexit #ifdef __SIMULATOR__ ...
stsp/newlib-ia16
3,076
newlib/libc/sys/sparc64/crt0.S
! C run time start off ! This file supports: ! ! - both 32bit pointer and 64bit pointer environments (at compile time) ! - an imposed stack bias (of 2047) (at run time) ! - medium/low and medium/anywhere code models (at run time) ! Initial stack setup: ! ! bottom of stack (higher memory address) ! ... ! text of e...
stsp/newlib-ia16
1,678
newlib/libc/sys/sparc64/sigsetjmp.S
! This file is called sigsetjmp.s because that is what V8 uses. ! We do not define sigsetjmp() or setlongjmp() yet. ! Solaris has setjmp/longjmp in setjmp.o. Move this stuff there. #include <sys/syscallasm.h> TEXT_SECTION ALIGN (4) #ifdef __svr4__ GLOBAL (ASM_SYMBOL (setjmp)) .proc 04 ASM_SYMBOL (setjmp): cl...
stsp/newlib-ia16
1,475
newlib/libc/sys/sparc64/sbrk.S
! sbrk() system call #include "sys/syscallasm.h" DATA_SECTION ALIGN (4) ! CURBRK contains the current top of allocated space. ! END is a private symbol in svr4, but a public one in sunos4. ! FIXME: CURBRK is 4 bytes for now. GLOBAL (ASM_PRIVATE_SYMBOL (curbrk)) ASM_PRIVATE_SYMBOL (curbrk): #ifdef __svr4__ WORD...
stsp/newlib-ia16
1,119
newlib/libc/sys/sysmec/crt0.S
#ifdef __mn10300__ .section .text .global _start _start: mov _stack-8,a0 # Load up the stack pointer mov a0,sp mov _edata,a0 # Get the start/end of bss mov _end,a1 cmp a0,a1 # If no bss, then do nothing beq .L0 clr d0 # clear d0 .L1: movbu d0,(a0) # Clear a byte and bump pointer inc a0 cmp a0,a1 ...
stsp/newlib-ia16
1,590
newlib/libc/sys/sysnecv850/crt0.S
# NEC V850 startup code .section .text .global _start _start: #if defined(__v850e__) || defined(__v850e2__) || defined(__v850e2v3__) || defined(__v850e3v5__) movea 255, r0, r20 mov 65535, r21 mov hilo(_stack), sp mov hilo(__ep), ep mov hilo(__gp), gp mov hilo(__ctbp), r6 ldsr r6...
stsp/newlib-ia16
133,709
newlib/libc/sys/rdos/rdos.S
/*####################################################################### # RDOS operating system # Copyright (C) 1988-2006, Leif Ekblad # # This library is free software; you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published # by the Free Software Foundation; ...
stsp/newlib-ia16
7,258
newlib/libc/sys/rdos/crt0.S
/*####################################################################### # RDOS operating system # Copyright (C) 1988-2006, Leif Ekblad # # This library is free software; you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published # by the Free Software Foundation; ...
stsp/newlib-ia16
1,486
newlib/libc/sys/d10v/crt0.S
.text .global _start .type _start,@function .stabs "crt0.S",100,0,0,_start .stabs "int:t(0,1)=r(0,1);-32768;32767;",128,0,0,0 .stabs "_start:F(0,1)",36,0,1,_start _start: ; R14 always contains memory base address (0) ldi r14,0 ; Set the USER and SYSTEM stack pointers. ldi r0, 0 ; zero arguments ldi r1, 0...
stsp/newlib-ia16
6,544
newlib/libc/sys/d10v/trap.S
#include "sys/syscall.h" #define SYSCALL(name) \ .global name ; \ name: ; \ ldi r4, SYS ## name ; \ bra __trap0 .text .stabs "trap.S",100,0,0,__trap0 .stabs "int:t(0,1)=r(0,1);-65536;65535;",128,0,0,0 .stabs "long int:t(0,2)=r(0,1);0020000000000;0017777777777;",128,0,0,0 .stabs "_trap0:F(0,1)",36,0,1,__trap...
stsp/newlib-ia16
2,372
newlib/libc/sys/mmixware/setjmp.S
/* Setjmp and longjmp for mmix. Copyright (C) 2001 Hans-Peter Nilsson Permission to use, copy, modify, and distribute this software is freely granted, provided that the above copyright notice, this notice and the following disclaimer are preserved with no changes. THIS SOFTWARE IS PROVIDED ``AS IS'' A...
stsp/newlib-ia16
1,481
newlib/libc/sys/linux/linuxthreads/machine/i386/sysdep.S
/* Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either versio...
stsp/newlib-ia16
1,953
newlib/libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S
/* Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 2000 Free Software Foundation, Inc. This file has been modified from the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foun...
stsp/newlib-ia16
2,585
newlib/libc/sys/linux/linuxthreads/machine/i386/clone.S
/* Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Richard Henderson (rth@tamu.edu) The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as pu...
stsp/newlib-ia16
1,771
newlib/libc/sys/linux/machine/i386/setjmp.S
/* This is file is a merger of SETJMP.S and LONGJMP.S */ /* * This file was modified to use the __USER_LABEL_PREFIX__ and * __REGISTER_PREFIX__ macros defined by later versions of GNU cpp by * Joel Sherrill (joel@OARcorp.com) * Slight change: now includes i386mach.h for this (Werner Almesberger) * * Copyright...
stsp/newlib-ia16
4,945
newlib/libc/machine/sh/strncpy.S
/* Copyright 2003 SuperH Ltd. */ #include "asm.h" #ifdef __SH5__ #if __SHMEDIA__ #ifdef __LITTLE_ENDIAN__ #define ZPAD_MASK(src, dst) addi src, -1, dst #else #define ZPAD_MASK(src, dst) \ byterev src, dst; addi dst, -1, dst; byterev dst, dst #endif /* We assume that the destination is not in the first 16 bytes o...
stsp/newlib-ia16
1,370
newlib/libc/machine/sh/strlen.S
! Entry: arg0: string start address ! Exit: result: length ! ! Copyright 2002 SuperH Ltd. #include "asm.h" ENTRY(strlen) #if __SHMEDIA__ ldlo.q r2,0,r3 ptabs/l r18,tr0 pta/l loop,tr1 andi r2,-8,r0 shlli r2,3,r1 mcmpeq.b r3,r63,r3 SHHI r3,r1,r4 beqi/u r4,0,tr1 // loop #ifdef __LITTLE_ENDIAN__ movi -1,r2 a...
stsp/newlib-ia16
3,191
newlib/libc/machine/sh/memset.S
! ! Fast SH memset ! ! by Toshiyasu Morita (tm@netcom.com) ! ! SH5 code by J"orn Rennecke (joern.rennecke@superh.com) ! Copyright 2002 SuperH Ltd. ! #include "asm.h" ENTRY(memset) #if __SHMEDIA__ pta/l multiquad, tr0 ptabs r18, tr2 andi r2, -8, r25 add r2, r4, r5 addi r5, -1, r20 // calculate end address. a...
stsp/newlib-ia16
7,726
newlib/libc/machine/sh/memcpy.S
! ! Fast SH memcpy ! ! by Toshiyasu Morita (tm@netcom.com) ! hacked by J"orn Rernnecke (joern.rennecke@superh.com) ("o for o-umlaut) ! SH5 code Copyright 2002 SuperH Ltd. ! ! Entry: ARG0: destination pointer ! ARG1: source pointer ! ARG3: byte count ! ! Exit: RESULT: destination pointer ! any othe...
stsp/newlib-ia16
4,092
newlib/libc/machine/sh/strcmp.S
! SH5 code Copyright 2002 SuperH Ltd. #include "asm.h" ENTRY(strcmp) #if __SHMEDIA__ ld.ub r2,0,r4 pt/l quickret0,tr0 ld.ub r3,0,r5 ptabs r18,tr2 beqi/u r4,0,tr0 ld.ub r2,1,r6 bne/u r4,r5,tr0 pt/l quickret1,tr1 ld.ub r3,1,r7 beqi/u r6,0,tr1 ld.ub r2,2,r4 bne/u r6,r7,tr1 ld.ub r3,2,r5 beqi/u r4,0,tr0 l...
stsp/newlib-ia16
2,524
newlib/libc/machine/sh/strcpy.S
! Entry: arg0: destination ! arg1: source ! Exit: result: destination ! ! SH5 code Copyright 2002 SuperH Ltd. #include "asm.h" ENTRY(strcpy) #if __SHMEDIA__ pta/l shortstring,tr1 ldlo.q r3,0,r4 ptabs r18,tr4 shlli r3,3,r7 addi r2, 8, r0 mcmpeq.b r4,r63,r6 SHHI r6,r7,r6 bnei/u r6,0,tr1 // shortstring...
stsp/newlib-ia16
3,695
newlib/libc/machine/sh/setjmp.S
/* We want to pretend we're in SHmedia mode, even when assembling for SHcompact. */ #if __SH5__ == 32 && ! __SHMEDIA__ # undef __SHMEDIA__ # define __SHMEDIA__ 1 #endif #if __SHMEDIA__ .mode SHmedia #endif #include "asm.h" ENTRY(setjmp) #if __SH5__ ptabs r18, tr0 gettr tr5, r5 gettr tr6, r6 gettr tr7, r7 s...
stsp/newlib-ia16
2,327
newlib/libc/machine/bfin/longjmp.S
/* * longjmp for the Blackfin processor * * Copyright (C) 2006 Analog Devices, Inc. * * The authors hereby grant permission to use, copy, modify, distribute, * and license this software and its documentation for any purpose, provided * that existing copyright notices are retained in all copies and that this * n...
stsp/newlib-ia16
2,140
newlib/libc/machine/bfin/setjmp.S
/* * setjmp for the Blackfin processor * * Copyright (C) 2006 Analog Devices, Inc. * * The authors hereby grant permission to use, copy, modify, distribute, * and license this software and its documentation for any purpose, provided * that existing copyright notices are retained in all copies and that this * no...
stsp/newlib-ia16
13,649
newlib/libc/machine/mips/memset.S
/* * Copyright (c) 2013 * MIPS Technologies, Inc., California. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of...
stsp/newlib-ia16
26,292
newlib/libc/machine/mips/memcpy.S
/* * Copyright (c) 2012-2015 * MIPS Technologies, Inc., California. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this li...
stsp/newlib-ia16
6,068
newlib/libc/machine/mips/strcmp.S
/* * Copyright (c) 2014 * Imagination Technologies Limited. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of co...
stsp/newlib-ia16
3,986
newlib/libc/machine/mips/setjmp.S
/* This is a simple version of setjmp and longjmp for MIPS 32 and 64. Ian Lance Taylor, Cygnus Support, 13 May 1993. */ #ifdef __mips16 /* This file contains 32 bit assembly code. */ .set nomips16 #endif #define GPR_LAYOUT \ GPR_OFFSET ($16, 0); \ GPR_OFFSET ($17, 1); \ GPR_OFFSET ($18, 2); \ GPR_OFFSET (...