2 * setjmp for the Blackfin processor
4 * Copyright (C) 2006 Analog Devices, Inc.
6 * The authors hereby grant permission to use, copy, modify, distribute,
7 * and license this software and its documentation for any purpose, provided
8 * that existing copyright notices are retained in all copies and that this
9 * notice is included verbatim in any distributions. No written agreement,
10 * license, or royalty fee is required for any of the authorized uses.
11 * Modifications to this software may be copyrighted by their authors
12 * and need not follow the licensing terms described here, provided that
13 * the new terms are clearly indicated on the first page of each file where
24 .type _setjmp, STT_FUNC;
27 [--SP] = P0; /* Save P0 */
30 [P0 + 0x00] = R0; /* Save saved P0 */
37 [P0 + 0x18] = FP; /* Frame Pointer */
38 [P0 + 0x1C] = SP; /* Stack Pointer */
40 [P0 + 0x20] = P0; /* Data Registers */
52 R0 = LC0; /* Loop Counters */
57 R0 = A0.W; /* Accumulators */
66 R0 = I0; /* Index Registers */
75 R0 = M0; /* Modifier Registers */
84 R0 = L0; /* Length Registers */
93 R0 = B0; /* Base Registers */
108 .size _setjmp, .-_setjmp;