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 |
Flow of fluid takes place due to its?
What is the difference between return code and completion code. When i was searching in the direct for the problem, the following errors displayed. Please can any1 explain these. Completion Code => 4 Message Id => XXDR012I Short Text => XDR field overflow. Key=SER. Len=8. Completion Code => 8 Message Id => XSQF009I Short Text => Sys call open() failed.Filename=/opt/apps/cdt3/USA/outbound/CD810O.errno=17. Completion Code => 8 Message Id => XCPR010I Short Text => Open failed for copy in OPEN_DEST_DATA. Errno=17. can you explain those 3 completion codes and also with difference between return code and completion code
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
What is the major use of Servelet
when will we use lsmw , bdc and bapi? which will be easy to use and which is used for which type of data
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.
how to overload main method in java?
Hi can any one help me below two steps in sap FICO, 1.Create document number ranges for company code. 2.Copy document number ranges to fiscal year. was trying to do it but i am not able to completing successfully,
what is employee MAPPING in recruitment...?
How u r going to change the company code in sap after entering the data and every thing.
When I look for mannual enry of any of the command in Unix, such as #man ls, I get a message "Reformatting entry. Wait..." and control comes to a next command prompt. what is the problem?