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

can a merchant exporter adjust or claim refund of input service tax ??

0 Answers  


sir,please send Indian Bank clerk post examination question / answers(last 5 years)

1 Answers   Indian Bank, Raj Construction,


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  


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  


hai this is shanthi, is this code right? please check and correct the lines. import javax.swing.*; import java.awt.*; class Flow extends JFrame { JButton b1,b2,b3,b4; JPanel p; FlowLayout FL; Flow() { FL=new FlowLayout(FlowLayout.RIGHT,20,20); b1=new JButton("button1"); b2=new JButton("button2"); b3=new JButton("button3"); b4=new JButton("button4"); p=new Jpanel(); p.add(b1); p.add(b2); p.add(b3); p.add(b4); p.set Layout(FL); getContentPane().add(p); setSize(400,400); show(); } public static void main(String args[]) { new=Flow(); } } but i have an error in p.set Layout(FL); in this line. i tryed all the ways but it showing the in this line only. please check and correct it.

1 Answers  


suppose backgrd job is completed in 5 min yesterday,but the same job is taking 15 min to execute what is the reason?

2 Answers   TCS,


Wen ever i use IE=createObject (Ineternetexplorer.application) QTP just navigates to the URL mentioned but doesn't recognise the USErname and Password field so the test fails.. But wen i just record and use system.util "iexplore" the code recognises and the tst passes, but here it works fine sometimes and sometimes the test just fails and aftersometime i run it works.. so its not consistent,,, any suggestion

0 Answers  


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

2 Answers   TCS,


How to Recognize List Boxes in WinRunner 7.5 while Recording...

1 Answers   ADP,


how do i copy first 10 records from one sequntial file to another sequential file by using JCL program?

0 Answers  


how can i write script for sending mail

1 Answers  


well i dont have toefl and gre scor all that stuff, and i have 7 backlogs, tell me the chances of getting the visa.

0 Answers  


Categories