-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlist.lst
28 lines (28 loc) · 1.48 KB
/
list.lst
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
1 00000000 B041 mov al, 'A'
2 loop:
3 00000002 3C5B cmp al, 'Z' + 1
4 00000004 0F84F801 je end
5
6 ;;
7 ;; Make the system call to the BIOS video services
8 ;;
9 00000008 B40E mov ah, 0x0e
10 0000000A CD10 int 0x10 ; looks at `ah` to know which BIOS operation to perform
11
12 0000000C FEC0 inc al
13
14 0000000E EBF2 jmp loop
15
16
17 ;;
18 ;; Write enough zeros to get us to the boot sector identifier
19 ;;
20 00000010 00<rep 1EEh> times 512-2-($-$$) db 0
21
22
23 ;;
24 ;; Write 0x55aa boot sector identifier
25 ;;
26 000001FE 55AA db 0x55, 0xaa
27
28 end: