write a program whose output will be-
1
12
123
1234
12345
in assembly language
Answer Posted / 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 |
Post New Answer View All Answers
I am Recording the QTP Script..the Script is below VbWindow("mdiPP").VbWindow("frmPOSOLocking").ActiveX ("SSTab").VbListView("lstPO").SetItemState "272 [10-11]", micChecked. After when when Run then give error property not found.
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?
When ever i log onto tce and i join a sever such as Or killzone i can only play for a certain amount of time before i get kicked. it says that i have been disconected from server for unknown reason. i cant seem to figure it out. i tried turning off my fire wall, but didnt work. please if you can give me any info on what to do it would help alot. Thanks.
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?
how to overload main method in java?
i have SAP B1 in my work area When i am try to hold the particular item the following ERRORS display in my System (This entry already exists in the following tables '' (AIT1) (ODBC -2035) [Message 131-183])
according to class7 how can we give description on pendrive?
WHAT IS A VECTOR ? HOW IS DIFFER FORM AN ARRAY
hi pp gurus, when i do the goods receipt through transiction MIGO the system, gives following error. I filled up all information that needs MIGO transiction. the error is: "Account determination for entry INT GBB___AUF 7900 not possible." can any one suggest me what to do now?
after going to service throw to administrator tools service promp are not opening
For pH-4 calculation it is subtracted from the previous pH7 buffer value is the same procedure to be followed for calculation of remaining buffers??
Sir, I apply sbi clerk exams(07/09/09)But I did a mistake to enter my date of birth(correct 04.01.1985 / wrong 04.01.1984).please give me suggestions please. Thanking you, Bhushan.B
during the rebate processing i got error that THE SALES VOLUME FOR AGREEMENT <101> IS NOT CURRENT.SO HOW TO RESOLVE THIS ISSUES?
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.......
a pleasant evening. i would like to ask a question about yellow journalism. This is another term for sensationalism right? i just wanted to know a lot of articles or studies with regards to the effect this yellow journalism could effect the interpretation of the students,especially college students who are taking Communication course. please help me answer this.