Question: ( 4 pts ) Suppose that an ASM program has the following data segment. . data str 1 BYTE cat rvsStr BYTE 3 DUP (
pts Suppose that an ASM program has the following data segment.
data
str BYTE "cat"
rvsStr BYTE DUP
capStr BYTE DUP
Write a "code snippet" that makes two copies of the threecharacter string at str one in reverse
order at the location rusStr and one that is capitalized at the location capStr. Do not hardcode.
I.e your code should work for any threecharacter lowercase string. Hint: You can capitalize
any lowercase character by subtracting h from its ASCII code.
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
