PageRenderTime 17ms CodeModel.GetById 13ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/asm/boot/gas/boot2.S

http://github.com/dennis-gemini/tests
Assembly | 21 lines | 18 code | 3 blank | 0 comment | 0 complexity | 2fabd1abb19c784f9c740300932da346 MD5 | raw file
 1.code16
 2.text
 3	mov  %cs, %ax
 4	mov  %ax, %ds
 5	mov  %ax, %es
 6	call DispStr
 7	jmp  .
 8
 9DispStr:
10	mov  $BootMessage, %ax
11	mov  %ax, %bp
12	mov  $16, %cx
13	mov  $0x1301, %ax
14	mov  $0x000c, %bx
15	mov  $0, %dl
16	int  $0x10
17	ret
18
19.org	510
20.word	0xaa55
21