|
-
April 15th, 2009, 02:16 PM
#1
printing a character
here is my code
.model small
.stack
include stdlib.a
includelib stdlib.lib
.data
word TYPEDEF byte
dseg segment para public 'data'
j word 0FF00h
k word 0FFF0h
l word ?
dseg ends
.code
main proc
mov ax, dseg
mov ds, ax
mov es, ax
mov ax, j
putc
main endp
end main
its giving me the error : OPERAND TYPES DO NOT MATCH
is it my TYPEDEF? whatS the problem?
Last edited by access1011; April 15th, 2009 at 02:44 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|