mov Es:[Bx], Byte Ptr al =>coma or end of line expected
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
29
30
31
32
33 [BITS 16] [ORG 0x0] jmp _debut msgBoot db 'Bienvenue dans BOOTOS !',13,10,0 _debut: mov ax,0x07C0 mov ds,ax mov es,ax mov ax,0x8000 mov ss,ax mov sp, 0xf000 mov ax, 0B800h mov bx, 0 move byte al,[msgBoot] afficher_msg: cmp al,0x00 je fin mov Es:[Bx], byte ptr al add bx, 2 mov byte al,[msgBoot]+2 jb afficher_msg fin: times 510-($-$$) db 144 dw 0xAA55 END
Partager