|
|
1.1 root 1: .file "3b_swap.s"
2: # ident "@(#)cfront:lib/task/3b_swap.s 1.2"
3:
4: .text
5: .globl swap
6: .align 4
7: swap:
8: save &0
9: movw 0(%ap),%r1 # r1 = this
10: # the following constant is the displacement of t_framep in task
11: movw 20(%r1),%fp # fp = this->t_framep
12: movw 24(%r1),%r0 # fudge return -- this->th
13: movw 28(%r1),%ap # this->t_ap
14: ret &6
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.