; Source name : EAT.ASM
; Executable name : EAT.COM
; Code model: : Real mode flat model
; Version : 1.0
; Created date : 6/4/1999
; Last update : 9/10/1999
; Author : Jeff Duntemann
; Description : A simple example of a DOS .COM file programmed using
; NASM-IDE 1.1 and NASM 0.98.
[BITS 16] ; Set 16 bit code generation
[ORG 0100H] ; Set code start address to 100h (COM file)
[SECTION .text] ; Section containing code
mov dx, msg; Mem data ref without  loads the ADDRESS!
mov ah,9 ; Function 9 displays text to standard output.
int 21H ; INT 21H makes the call into DOS.
mov ax, 04C00H ; This DOS function exits the program
int 21H ; and returns control to DOS.
[SECTION .data] ; Section containing initialized data
msg db "This is a message", 17, 10, "$" ;Here's our message
Reading from a book, I played around with it then I got sick of it and nothing worked so I directly copied and pasted that code to try to get it to run. It compiles, but its almost as if the interrupts are ignored. So maybe the IF flag is set? I'm not sure, I tried MOV IF,1. It wouldn't assemble so =S Any help would be greatly appreciated.
BTW I'm compiling as a COM.