1: .globl mesg
2:
3: / usage:
4: / jsr r5,mesg
5: / <string ending in \0>
6: / .even
7: / ...
8: /
9: / string is output onto $1
10: /
11:
12: mesg:
13: mov r0,-(sp)
14: mov r5,r0
15: mov r5,0f
16: 1:
17: tstb (r5)+
18: bne 1b
19: sub r5,r0
20: com r0
21: mov r0,0f+2
22: mov $1,r0
23: sys 0; 9f
24: .data
25: 9:
26: sys write; 0:..; ..
27: .text
28: inc r5
29: bic $1,r5
30: mov (sp)+,r0
31: rts r5
Defined functions
mesg
declared in line
1; defined in line
12; used 31 times
- in line 1
- in /usr/source/s1/chgrp.s line
4,
10,
24,
32,
76
- in /usr/source/s1/chown.s line
4,
10,
24,
32,
75
- in /usr/source/s1/db1.s line
130-134(2),
452,
520,
592
- in /usr/source/s1/db3.s line
273
- in /usr/source/s2/tp1.s line
74,
94,
202,
220,
265
- in /usr/source/s2/tp3.s line
40,
226,
290,
327-331(2),
337-342(2),
401,
520