vax_swap.s

来自「c 语言编译器 源代码- c compiler」· S 代码 · 共 51 行

S
51
字号
	.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 + =
减小字号Ctrl + -
显示快捷键?