Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started