I don't understand why I get an error in this assembly code. I want to assign the byte 0Ah at the memory location with address 0100h (in the data segment). I get the error "illegal immediate" at line 6 but I believe the direct addressing I am using is fine - I saw similar examples in some texts.
.MODEL small
.DATA
.STACK
.CODE
.STARTUP
    MOV Byte Ptr[0100h], 0Ah
    MOV AH, 4Ch
    INT 21H
END
Any ideas?
 
    