First post, by trepan
trepan
Offline
Rank
Newbie
I made a program in NASM.
It crashes.
Code :
BITS 16ORG 0x100SECTION .text; Lets do DTAmov ah,0x1amov dx,bufint 0x21; Find a COM filemov ah,0x4fxor cx,cxmov dx,fnameint 0x21 ** we crash here; Did we find it ...cmp ax,0x0je end
fname db 'c:\*.com',0buf 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]