kindnumber9
Programmer
I'm using MASM 6.15 for assembling using the switches /c (dont link) and /coff (coff object file format). With link i use the switches /entry:start /subsystem:console. There are no assemble or link errors. When I run the final exe a console opens and windows gives the error "new.exe has encountered an error...etc" and then the console closes. I'm running windows xp pro if it matters... I'm just getting into assembly so I'd really like to find out what's wrong with this code so I can continue learning it.
TIA if you can help me!
.386
.MODEL FLAT
.STACK 4096
.DATA
.CODE
_start:
MOV ah, 4CH
MOV al, 0
int 21h
PUBLIC _start
END
TIA if you can help me!
.386
.MODEL FLAT
.STACK 4096
.DATA
.CODE
_start:
MOV ah, 4CH
MOV al, 0
int 21h
PUBLIC _start
END