⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 __longjmp.s

📁 Axis 221 camera embedded programing interface
💻 S
字号:
/* * libc/sysdeps/linux/nios2/__longjmp.S * *  Copyright (C) 2004,05,06  Microtronix Datacom Ltd * * This file is subject to the terms and conditions of the GNU Lesser * General Public License.  See the file COPYING.LIB in the main * directory of this archive for more details. *  * Written by Wentao Xu <wentao@microtronix.com> *  */#define _ASM#define _SETJMP_H#include <bits/setjmp.h>.globl __longjmp.type  __longjmp,@function.balign 4__longjmp:    /* return value is in r5*/    mov     r2,  r5      /* jmp_buf in r4, restore regs.  */    ldw     r16, (JB_REGS+ 0)(r4)    ldw     r17, (JB_REGS+ 4)(r4)    ldw     r18, (JB_REGS+ 8)(r4)    ldw     r19, (JB_REGS+12)(r4)    ldw     r20, (JB_REGS+16)(r4)    ldw     r21, (JB_REGS+20)(r4)    ldw     r22, (JB_REGS+24)(r4)    ldw     r23, (JB_REGS+28)(r4)        ldw     ra, JB_PC(r4)    ldw     fp, JB_FP(r4)    ldw     gp, JB_GP(r4)    ldw     sp, JB_SP(r4)    #if defined(__HAVE_FPU__)    RESTORE_FPU r4 JB_FPREGS#endif  /* return to saved RA */        ret

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -