Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 . What is the logic of the program? What does it do ? Explain in details. 2 . What will be displayed on the

1. What is the logic of the program? What does it do? Explain in details.
2. What will be displayed on the screen ?
.model small
.386
.stack 100h
.data
nono db 8
c db 0
bsd db 0
x db "Enter anu Key ",13,10,"$"
.code
main proc
mov AX,@data
mov ds, ax
mov dx,offset x
call gssm
call y
mov bsd, al
mov c,0
mm:
shr bsd,1
jc short jjj
inc c
jjj:
dec nono
jnz mm
mov dl, c
shr c,1
jc short start1
call z
start1:
mov ax,4c00h
int 21h
y proc
uuu:
mov ah,1
int 21h
cmp al,58
js uuu
cmp al,65
jns uuu
ret
y endp
z proc
mov ah,6
add dl,48
int 21h
ret
z endp
gssm proc
mov ah,9
int 21h
ret
gssm endp
main endp
end main

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Visual Basic 2008 Comprehensive Concepts And Techniques

Authors: Gary B. Shelly, Corinne Hoisington

1st Edition

1423927168, 978-1423927167

More Books

Students also viewed these Databases questions

Question

Write a note on Quality circles.

Answered: 1 week ago

Question

Describe how to measure the quality of work life.

Answered: 1 week ago