I am trying to write to the display using assembly code. I used the same code under 'debug' and it seems to work. However when I compile it under VC++ (with MASM integrated)It doesn't seem to know what b800 is. Any ideas?
Here is my code: title display (text.asm) .model small .stack 100h .data
.code main proc mov bx,900h mov ax, B800h mov ds,ax mov ax,0724h mov [bx],ax int 21h
mov ax,4c00h int 21h main endp end main
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.