setjmp.S revision 1.1.1.1.2.2 1 1.1.1.1.2.2 pgoyette /* $NetBSD: setjmp.S,v 1.1.1.1.2.2 2018/09/06 06:56:39 pgoyette Exp $ */
2 1.1.1.1.2.2 pgoyette
3 1.1.1.1.2.2 pgoyette /*
4 1.1.1.1.2.2 pgoyette * Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
5 1.1.1.1.2.2 pgoyette * This program and the accompanying materials are licensed and made
6 1.1.1.1.2.2 pgoyette * available under the terms and conditions of the BSD License which
7 1.1.1.1.2.2 pgoyette * accompanies this distribution. The full text of the license may
8 1.1.1.1.2.2 pgoyette * be found at http://opensource.org/licenses/bsd-license.php.
9 1.1.1.1.2.2 pgoyette *
10 1.1.1.1.2.2 pgoyette * THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS"
11 1.1.1.1.2.2 pgoyette * BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER
12 1.1.1.1.2.2 pgoyette * EXPRESS OR IMPLIED.
13 1.1.1.1.2.2 pgoyette */
14 1.1.1.1.2.2 pgoyette .text
15 1.1.1.1.2.2 pgoyette .arm
16 1.1.1.1.2.2 pgoyette .globl setjmp
17 1.1.1.1.2.2 pgoyette .type setjmp, %function
18 1.1.1.1.2.2 pgoyette setjmp:
19 1.1.1.1.2.2 pgoyette mov r3, r13
20 1.1.1.1.2.2 pgoyette stmia r0, {r3-r12,r14}
21 1.1.1.1.2.2 pgoyette eor r0, r0, r0
22 1.1.1.1.2.2 pgoyette bx lr
23 1.1.1.1.2.2 pgoyette
24 1.1.1.1.2.2 pgoyette .globl longjmp
25 1.1.1.1.2.2 pgoyette .type longjmp, %function
26 1.1.1.1.2.2 pgoyette longjmp:
27 1.1.1.1.2.2 pgoyette ldmia r0, {r3-r12,r14}
28