Logo 
Search:

Assembly Language Articles

Submit Article
Home » Articles » Assembly Language » Homework HelpRSS Feeds

Program to Print Alphabets from A TO Z in both the Case

Posted By: Emma Brown     Category: Assembly Language     Views: 6480

Program to Print Alphabets from A TO Z in both the Case.

Code for Program to Print Alphabets from A TO Z in both the Case in Assembly Language

stack segment
stack ends

data segment
data ends

code segment
assume cs:code, ds:data, ss:stack

  mov ah,02h   
  mov cx,26    
  mov dl,41h   

lop:
  int 21h
  add dl,1h    
  loop lop

  mov dl,0ah
  mov ah,02h   
  int 21h

  mov dl,0dh
  mov ah,02h   
  int 21h

  mov ah,02h   
  mov cx,26    
  mov dl,61h   

lop1:
  int 21h
  add dl,1h    
  loop lop1

  mov ah,4ch
  int 21h

code ends

END

;OUTPUT:

;ABCDEFGHIJKLMNOPQRSTUVWXYZ
;abcdefghijklmnopqrstuvwxyz
  
Share: 


Didn't find what you were looking for? Find more on Program to Print Alphabets from A TO Z in both the Case Or get search suggestion and latest updates.

Emma Brown
Emma Brown author of Program to Print Alphabets from A TO Z in both the Case is from London, United Kingdom.
 
View All Articles

Related Articles and Code:


 

Other Interesting Articles in Assembly Language:


 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!