1: .globl getchar
2: .globl lookchar
3: .globl w, r, a, l
4: /
5: /
6: / routine to read next character from string
7: / pointer to by r1; character returned in r0
8: / c-bit set if character not availiable (eof)
9: /
10: / mov ...,r1
11: / jsr pc,getchar
12: / movb r0,...
13: /
14: getchar:
15: jsr pc,lookchar
16: bes 1f
17: inc r(r1)
18: tst r0
19: 1: rts pc
Defined functions
getchar
declared in line
1; defined in line
14; used 55 times
- in line 1
- in /usr/source/s7/nroff2.s line
11,
44,
299-303(2),
317,
393,
403,
413,
423,
829,
843,
866,
882,
979,
1019,
1073,
1167,
1194
- in /usr/source/s7/nroff3.s line
9,
16,
285,
519,
547,
802,
851-856(2),
1215-1220(2),
1232
- in /usr/source/s7/nroff4.s line
27,
400,
406,
808-813(2)
- in /usr/source/s7/nroff5.s line
65
- in /usr/source/s7/roff2.s line
19,
82,
169-173(2),
281,
291
- in /usr/source/s7/roff3.s line
7,
14,
149,
356,
380
- in /usr/source/s7/roff4.s line
15,
22
- in /usr/source/tmg/tmgb/cstr.s line
3,
61
- in /usr/source/tmg/tmgb/find.s line
6,
52
- in /usr/source/tmg/tmgb/getnam.s line
4,
37