Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please create using Assembly language programming. Intel x86 based Next, write a program like the one described in Exercise 7 on page 138. Make the

Please create using Assembly language programming. Intel x86 based

image text in transcribed

image text in transcribed

Next, write a program like the one described in Exercise 7 on page 138. Make the source string the phrase "I am Jane Doe, a student in CPEN 3710.",0 (note: replace the Jane Doe' portion with your own name) and reserve sufficient space for the target string, which will be the original string written backwards. (The "null byte" containing zero at the end of the string is not part of the reversal; it should still be at the end, not the beginning, of the reversed string.) After you have finished reverse-copying the string, in addition to calling DumpMem to display the area of memory containing the two strings, also call Irvine's WriteString procedure (see page 169) twice, to display the original string and the reversed string to the screen as characters. Assemble and link your program as usual, run it, and capture and print out a screen shot showing the displayed results changed in the future *7. Copy a String in Reverse Order Write a program with a loop and indirect addressing that copies a string from source to reversing the character order in the process. Use the following variables: source BYTE "This is the source string",0 target BYTE SIZEOF source DUP('#')

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

Step: 3

blur-text-image

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

Oracle Solaris 11.2 System Administration (oracle Press)

Authors: Harry Foxwell

1st Edition

007184421X, 9780071844215

More Books

Students also viewed these Databases questions