Hello,
I am new to using MASM 32 and I tried the following program in the MASM 32 version 8. The problem is that it assembles and links fine but when I run it Windows does not like it and gives an illegal function call.
.386
.model flat, STDCALL
.data
message db "HelloWorld!$"
.code
org 100h
start:
mov edx, offset message
mov ah, 09
int 21h
mov ax, 4c00h
int 21h
end start
Isn't the int 21 interrupt available in Windows 98 as in DOS? Well can anyone give me a simple Hello World example for MASM 32.
Also can't we make console applications in MASM 32??
Please help.
I am new to using MASM 32 and I tried the following program in the MASM 32 version 8. The problem is that it assembles and links fine but when I run it Windows does not like it and gives an illegal function call.
.386
.model flat, STDCALL
.data
message db "HelloWorld!$"
.code
org 100h
start:
mov edx, offset message
mov ah, 09
int 21h
mov ax, 4c00h
int 21h
end start
Isn't the int 21 interrupt available in Windows 98 as in DOS? Well can anyone give me a simple Hello World example for MASM 32.
Also can't we make console applications in MASM 32??
Please help.