1: / tty -- get tty number
2:
3: .globl ttyn
4:
5: clr r0
6: jsr pc,ttyn
7: movb r0,nam
8: mov $1,r0
9: sys write; name; 5
10: sys exit
11:
12: .data
13: name:
14: <tty>
15: nam:
16: <x\n>
17: .even
Defined variables
nam
defined in line
15; used 1 times
name
defined in line
13; used 1 times