Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


write a program whose output will be-
1
12
123
1234
12345

in assembly language

Answers were Sorted based on User's Feedback



write a program whose output will be- 1 12 123 1234 12345 in assembly language..

Answer / kinza

org 100h
.model small
.stack 100h
.data
.code
mov cx,1
mov bx,1
l1:
mov cx,bx

l2:
cmp cx,6
jz exit
mov dx,cx
add dx,30h
mov ah,02h
int 21h
loop l2
inc bx

mov dl,10
int 21h
mov dl,13
int 21h

loop l1

exit:
ret

Is This Answer Correct ?    1 Yes 4 No

write a program whose output will be- 1 12 123 1234 12345 in assembly language..

Answer / kin2304

org 100h
.model small
.stack 100h
.data
.code
mov cx,1
mov bx,1
l1:
mov cx,bx

l2:
cmp cx,6
jz exit
mov dx,cx
add dx,30h
mov ah,02h
int 21h
loop l2
inc bx

mov dl,10
int 21h
mov dl,13
int 21h

loop l1

exit:
ret

Is This Answer Correct ?    3 Yes 7 No

Post New Answer

More Scripts Errors Interview Questions

when i open the system error dialog box come memory could not be read some.

0 Answers  


I would like to if there is any vb script to populate my values in the application.Example i will input the data in two 2 rows a & b.I need script where the data in a or b have to populate in my application if my a = nothing and b = 1 or a = 1 or b = nothing.I would be glab if someone can help me here.

0 Answers  


why no girl is seeing me

0 Answers  


dear sir I want singal maintainer(iii& ii) solved question paper in every year in every board in rrb. If you collect these and sent these my mail-id i shall very grateful to you. thanking you your's faithfully soma saha

0 Answers  


Flow of fluid takes place due to its?

1 Answers  


sap sd;error 'pricing procedure could not be determined"

2 Answers   TCS,


user type command ls -l it gives junk character...how to trubleshoot this problem

1 Answers   Zycus Infotech,


how to fix the heap space error in java ?

1 Answers  


What is the IIS, and why we use it?

1 Answers  


If Fi account is assigned to cost element categorie poatings are not possible it is giving error that cost element has to be assigned to a co object whts the solution for this error?

0 Answers  


Nowadays there is a discussion that tajmahal was not built by shah-jahan..... Is it true...........?

7 Answers  


pf full updated bifurcation for 2017

0 Answers  


Categories