📄 vax_swap.s
字号:
.file "vax_swap.s"# ident "@(#)cfront:lib/task/vax_swap.s 1.2" # swap of SHARED .globl _rr4 .globl _rr3 .globl _rr2 .globl _sswap .align 1_sswap: .word 0x0000 movl 4(ap),r1 # this movl _rr4,r4 movl _rr3,r3 movl _rr2,r2L1: tstl r3 jeql L2 decl r3 movl (r4),(r2) cmpl -(r4),-(r2) jbr L1L2: # the following constant is the displacement of t_framep in task movl 20(r1),fp # fp = this->t_framep movl 24(r1),r0 # fudge return -- this->th ret .globl _swap .align 1_swap: .word 0x0000 movl 4(ap),r1 # r1 = this # the following constant is the displacement of t_framep in task movl 20(r1),fp # fp = this->t_framep movl 24(r1),r0 # fudge return -- this->th ret .globl _top .align 1_top: .word 0x0000 addl3 $1,(ap),r0 ashl $2,r0,r0 addl2 ap,r0 ret
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -