📄 renesas_tcpip_bind.s
字号:
#include <machine.h>#include <tcpip_fn.h>#if defined(_MIC_SH7145_)#define TRAP_SVC (34)#endif .text .balign 2 .globl Csym(renesas_tcpip_bind) .type Csym(renesas_tcpip_bind), @functionCsym(renesas_tcpip_bind): mov.l r7, @-r15 mov.l r6, @-r15 mov.l r5, @-r15 mov.l r4, @-r15 mov.l fno, r0 mov r15, r4 trapa #TRAP_SVC cmp/pz r0 bf renesas_tcpip_bind_err rts add #4*4, r15renesas_tcpip_bind_err: mov.l L_mask, r7 and r7, r0 mov.l L_errno, r7 mov.l r0, @r7 mov.l L_retno, r0 rts add #4*4, r15 .balign 4fno: .long TCPIP_RENESAS_TCPIP_BIND_FNL_errno: .long Csym(renesas_tcpip_errno)L_retno: .long 0xFFFFFFFFL_mask: .long 0xFFFF
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -