Question: Exercises Q 1 ) Write an assembler code to reverse string x in order; use LODSB and STOSB strings; where x DB HELLO WORLD' x
Exercises
Q Write an assembler code to reverse string in order; use LODSB and STOSB strings; where DB HELLO WORLD'
x DB 'HELLO WORLD'
y DB Duo
Q Write an assembler codes to scan string for character ; replacing it by space.
X
Q write an assembler codes to find factorial of values in memory locations; storing the result into memory locations; call a procedure to find factorial of numbers in ; where :
Q Write a sequence of instructions using LODSB and STOSB that copy each alphabet from string to string, converting it to lowercase. Note: setting bit in an uppercase character will convert it to lowercase
The value of after executing the following code is:
Y DB
MOV CX
L: CALL SUM
LOOP L
MOV Y AL
HLT
SUM PROC
MOV AH X
ADD AL AH
RET
SUM ENDP
What is the value of after execution the following codes?
STR DB "ABCDE"
MOV DI OFFSET STR
MOV CX
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
