aboutsummaryrefslogtreecommitdiffstats
path: root/menu/startup.S16
blob: df821093ab67597b579740b1cefae48879cb5f21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
	.code16gcc

	.globl _start
_start:
	movw $__bss_start,%di
	xorl %eax,%eax
	movw $_end,%cx
	subw %di,%cx
	shrw $2,%cx
	rep ; stosl

	calll main
	movb $0x4c,%ah
	int $0x21
	hlt