write a program whose output will be-
1
12
123
1234
12345
in assembly language
Answers were Sorted based on User's Feedback
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 |
can a merchant exporter adjust or claim refund of input service tax ??
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.
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?
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.
suppose backgrd job is completed in 5 min yesterday,but the same job is taking 15 min to execute what is the reason?
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
sap sd;error 'pricing procedure could not be determined"
How to Recognize List Boxes in WinRunner 7.5 while Recording...
how do i copy first 10 records from one sequntial file to another sequential file by using JCL program?
how can i write script for sending mail
well i dont have toefl and gre scor all that stuff, and i have 7 backlogs, tell me the chances of getting the visa.