View Single Post
Old May 20th, 2006, 9:50 AM   #34
kruptof
Professional Programmer
 
kruptof's Avatar
 
Join Date: May 2006
Location: UK - London
Posts: 330
Rep Power: 3 kruptof is on a distinguished road
when i try to run this code below i keep getting an error saying a "byte or a word". why is this, didn't i already say that these two variables are both bytes by saying define bite (db), or is this error sayingg what do you want to move a byte or a word.if so how can i move a word if both of the variabes are a byte long.

Here is the code:
Quote:
;mov dummy,num1;<-----this is the line where i receive the error ;specified above
mov ah,04Ch
mov al,00
int 21h
num1 db 4 dup'$'
dummy db 4 dup'$'
kruptof is offline   Reply With Quote