ParsX.com
پذیرش پروژه از دانشجویی ... تا سازمانی 09376225339
 
   ProfileProfile   Log in to check your private messagesLog in to check your private messages  |  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups Log inLog in   RegisterRegister 

کاشکی فقط یکدونه از برنامه هام کامپایل می شد

 
Post new topic   Reply to topic    ParsX.com Forum Index -> ساختمان و زبان ماشين
View previous topic :: View next topic  
Author Message
arash
مدير بخش سي
مدير بخش سي


Joined: 27 Nov 2004
Posts: 1232
Location: www.parsx.com

PostPosted: Tue Jan 25, 2005 1:42 pm    Post subject: کاشکی فقط یکدونه از برنامه هام کامپایل می شد Reply with quote

کاشکی فقط یکدونه از برنامه ها رو می تونستم EXE کنم ولی نشد
این برنامه رو ببنید .یک برنامه ساده هستش ولی کامپایل نمی شه
.model small
.stack 64
.code
start:mov ah,2
mov dl,2
add dl,'0'
int 21h
mov ah,7
int 21h
mov ah,4ch
int 21h
end start

اینم Error که می ده
SLK.ASM(1) : error 10: Syntax error
SLK.ASM(2) : error 10: Syntax error
SLK.ASM(3) : error 10: Syntax error
SLK.ASM(4) : error 62: No or unreachable CS
SLK.ASM(5) : error 86: Data emitted with no segment
SLK.ASM(6) : error 86: Data emitted with no segment
SLK.ASM(7) : error 86: Data emitted with no segment
SLK.ASM(8) : error 86: Data emitted with no segment
SLK.ASM(9) : error 86: Data emitted with no segment
SLK.ASM(10) : error 86: Data emitted with no segment
SLK.ASM(11) : error 86: Data emitted with no segment
Back to top
vahid
بي تو هرگز


Joined: 26 Nov 2004
Posts: 3067
Location: Tehran

PostPosted: Tue Jan 25, 2005 3:10 pm    Post subject: Reply with quote

اين برنامه رو در مدل نرمال كه بنويسي مشكلت برطرف ميشه و اسمبل ميشه .
اما اين نسخه از masm رو كه ml ‌بهش ميگن رو دانلود كن و ديگه از اين مشكلات نداشته باش Wink
DOWNLOAD FREE Microsoft (R) Macro Assembler Version 6.00


Last edited by vahid on Tue Jan 25, 2005 6:00 pm; edited 2 times in total
Back to top
arash
مدير بخش سي
مدير بخش سي


Joined: 27 Nov 2004
Posts: 1232
Location: www.parsx.com

PostPosted: Tue Jan 25, 2005 5:32 pm    Post subject: Reply with quote

ممنونم وحید جان
حرف نداشت کاش زودتر از شما پرسیده بودم و انقدر خودم رو گرفتار نمی کردم Laughing
بازم ممنونم !.! Embarassed Embarassed Embarassed
Back to top
Display posts from previous:   
Post new topic   Reply to topic    ParsX.com Forum Index -> ساختمان و زبان ماشين All times are GMT + 3.5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum