In 8086 assembly program, the segments are declared with special directives like .MODEL, .STACK, etc.
I have noticed that if I omit the .CODE segment directive in emu8086, the program still runs fine. Is there anything wrong with it?
.MODEL SMALL
.STACK 100H
.DATA
;data definitions go here
; .CODE --> The program works even after omitting this line
MAIN PROC
;instructions go here
MAIN ENDP
;other procedures go here
END MAIN