* added compilers lcc and bcc (linux86)
[mascara-docs.git] / i86 / mtx / mtx / samples / LAB4 / USER / u.s
bloba9488f911f9911fe9d0202c106d3696d3421cf85
1 .globl begtext, begdata, begbss ! needed by linker
3 .text ! these tell as:
4 begtext: ! text,data,bss segments
5 .data ! are all the same.
6 begdata:
7 .bss
8 begbss:
9 .text
10 .globl _main, _syscall, _exit
11 .globl _getcs, _color
13 call _main
15 ! if ever return, exit(0)
16 push #0
17 call _exit
19 _getcs:
20 mov ax, cs
21 ret
23 _syscall:
24 int 80
25 ret