fix nasm orphaned labels warnings

This commit is contained in:
Nero 2021-02-18 20:20:14 +00:00
parent 0b7e4cb3a4
commit 78233db88d

View File

@ -255,8 +255,8 @@ _write mov ch, 3
mov ah, 0 mov ah, 0
call int13 call int13
or byte [dskflag], 2 or byte [dskflag], 2
.l01 ; put sectors per cylinder into bx ; put sectors per cylinder into bx
mov ax, [bpb+BPBSPT] .l01 mov ax, [bpb+BPBSPT]
mul word [bpb+BPBNOS] mul word [bpb+BPBNOS]
mov bx, ax mov bx, ax
; put linear sector num into dx:ax ; put linear sector num into dx:ax
@ -296,8 +296,8 @@ _write mov ch, 3
and byte [dskflag], 0xFE and byte [dskflag], 0xFE
clc clc
ret ret
.err ; assume controller is misconfigured ; assume controller is misconfigured
and byte [dskflag], 0xFD .err and byte [dskflag], 0xFD
; exit with carry flag set ; exit with carry flag set
stc stc
ret ret