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
parnian
دوست آشناي سايت


Joined: 29 Jul 2006
Posts: 72

PostPosted: Sat Jul 29, 2006 9:21 pm    Post subject: پروژه تبديل حروف بزرگ به كوچيك وبرعكس هر كي نياز داره ... Reply with quote

من پروژه كامل تبديل حروف بزرگ به حرف كوچيك وبرعكس رو دارم اگه دوست داشتيد بگيد براتون بزارم
Back to top
vahid
بي تو هرگز


Joined: 26 Nov 2004
Posts: 3067
Location: Tehran

PostPosted: Sun Jul 30, 2006 8:23 am    Post subject: Reply with quote

اگه مجانيه كه چرا نه ! لطف بفرماييد بزاريد ما هم ياد بگيريم .
Back to top
parnian
دوست آشناي سايت


Joined: 29 Jul 2006
Posts: 72

PostPosted: Sun Jul 30, 2006 1:28 pm    Post subject: مجانيه ودرست اجرا شده يعني من كه 5 نمره پروژمو ازش گرفتم Reply with quote

Stack    segment          stack
  Db     100h   dup (?)
stack    ends
Data     segment
strlist label byte
Max     db     80
Len     db ?
Data2   db 80 dup(?)
Msg1    db "enter number and  digit"
data3   db 80 dup(?)
Data    ends
Code    segment
        Assume   cs:code,ds:data,ss:stack,es:data
Org     100h   
mov     ax,data
mov     ds,ax
lea     dx,msg1
Mov     ah,09

Int     21h
lea     ax,data3
mov     si,ax
Lea     di,data2
lea     dx,strlist
mov     ah,0ah
int     21h   
Mov     cl ,len
Back1:  mov al,[di]
Cmp     al ,"A"
Jb      over
Cmp     al,"z"
Ja      over
Xor     al,00100000b
Over:   mov [si],al
Inc     si
Inc     di
Loop    back1
lea     dx,data3
mov     ah,09
int     21h
Mov     ah,4ch
Int     21h
Code    ends
End
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