Im using Flat Assembler, and when I want to run something, it writes: " illegal instruction" to every line of the assembler directives.
For example in the code below, it would write that .MODEL SMALL
is not legal, and if id delete this line it would write that .STACK 200H
is not legal and so on.
.MODEL SMALL
.STACK 200H
.DATA
.CODE
start:
mov ax, @DATA
mov ds, ax
mov ax, 4c00h
int 21h
END start
and for this code it works:
start:
mov ds, ax
mov ax, 4c00h
int 21h