SmileeTiger
Programmer
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
Thanks!
Cory
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
Thanks!
Cory