First post, by trepan
Rank
Newbie
I made a program in NASM.
It crashes.
Code :
BITS 16
ORG 0x100
SECTION .text
; Lets do DTA
mov ah,0x1a
mov dx,buf
int 0x21
; Find a COM file
mov ah,0x4f
xor cx,cx
mov dx,fname
int 0x21 ** we crash here
; Did we find it ...
cmp ax,0x0
je end
fname db 'c:\*.com',0
buf db ' '
DosBOX 0.63 [Core:simple and full] Running FreeBSD/4.10 XFree 4.x ; Sound disabled; RAM : 256MB [system] 4;8;16;32 [Dosbox]