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

What is the IIS, and why we use it?

1 Answers  


how to fix the heap space error in java ?

1 Answers  


hi can any one tell me.... do we need to use color catridge also in HP Deskjet 630C series printer.... i have kept only black catridge but its not working.......

0 Answers  


if we define fiscal year varient with alphabet z it shows an error while creating asset master why?

1 Answers  


i forgot to take signature of the supervisor during my board exams of ssc gujarat board.Now what should i do?

1 Answers  


hai i got one error i,e http status 404 error what is ds why ds is comming

0 Answers  


Please anybody help , i am trying to change the fiscal year in transaction code OKEV. But the note appear "client 100 has status not modified" pls help me how to make it modified. thanks

1 Answers   SAP Labs,


i set the path for java like set path=c:\Program Files\JavaSoft\jdk.....\bin but its not working. its showing an error like javac is not recognised. what can i do. could you please tell me what path i can set.

1 Answers  


I worked with $message and $$message, Bt its not working?..

0 Answers  


how to run the application using winrunner for data driven test?

0 Answers  


osgelvaitre arrange it which make 1 romantic word

1 Answers  


How u r going to change the company code in sap after entering the data and every thing.

2 Answers   IBM, TCS,


Categories