signal.s
来自「Newlib 嵌入式 C库 标准实现代码」· S 代码 · 共 17 行
S
17 行
/ According to the iBCS2 book, signal() has 0x30 in %eax, and the address/ of a function in %edx. This function is where a signal handler will/ return to; it should just adjust the stack pointer, and call $f,$0./ Strange but true. .globl signalsigret: addl $4, %esp lcall $0xf, $0signal: movl $0x30, %eax movl sigret, %edx lcall $7,$0 jb _cerror/ The iBCS2 book also clears out %eax here, which seems to be broken. ret
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?