tasm - Illegal immediate error in assembly code - wrong direct addressing? -
i don't understand why error in assembly code. want assign byte 0ah @ memory location address 0100h (in data segment). error "illegal immediate" @ line 6 believe direct addressing using fine - saw similar examples in texts.
.model small .data .stack .code .startup mov byte ptr[0100h], 0ah mov ah, 4ch int 21h end any ideas?
yes
ReplyDelete