Question & Answer: Debug Assembly Programs…..

Debug Assembly Programs

All programs must be in Assembly Language and .asm file.

Please do not respond with another language other than Assembly Language.

1). Write a program that displays the letters of the alphabet in reverse order, omitting the vowels. Do not write this program using any data allocation statements.

*By “Letters of the alphabet” as in A through Z in reverse and removing the vowels.

Expert Answer

 

To Reverse a string :
MOV AX, DATA
MOV DS, AX
MOV ES, AX
MOV CL, 03
LEA SI, A
MOV AX, 04
ADD DI, AX
L1:     MOV AL, [SI]
XCHG AL, [DI]
MOV [SI], AL
INC SI
DEC DI
LOOP L1
END
Still stressed from student homework?
Get quality assistance from academic writers!