fix nasm orphaned labels warnings
This commit is contained in:
parent
0b7e4cb3a4
commit
78233db88d
@ -255,8 +255,8 @@ _write mov ch, 3
|
||||
mov ah, 0
|
||||
call int13
|
||||
or byte [dskflag], 2
|
||||
.l01 ; put sectors per cylinder into bx
|
||||
mov ax, [bpb+BPBSPT]
|
||||
; put sectors per cylinder into bx
|
||||
.l01 mov ax, [bpb+BPBSPT]
|
||||
mul word [bpb+BPBNOS]
|
||||
mov bx, ax
|
||||
; put linear sector num into dx:ax
|
||||
@ -296,8 +296,8 @@ _write mov ch, 3
|
||||
and byte [dskflag], 0xFE
|
||||
clc
|
||||
ret
|
||||
.err ; assume controller is misconfigured
|
||||
and byte [dskflag], 0xFD
|
||||
; assume controller is misconfigured
|
||||
.err and byte [dskflag], 0xFD
|
||||
; exit with carry flag set
|
||||
stc
|
||||
ret
|
||||
|
Loading…
Reference in New Issue
Block a user