subject

Assembly language for x86 processors assignment.

use a loop and indexed addressing, to rotate the target string forward by 4 positions. the value of the end of the array should wrap around to the first position. for example the "t" at the end should come around to the front and then the "h" that was next should wrap to the front, etc.

this is a program with a loop and indirect addressing that copies a string from source to target reversing the character in the process. use the following variables: add more to complete

include irvine32.inc

exitprocess proto, dwexitcode: dword

.data
source byte "this is the source string",0
target byte sizeof source dup('#')

.code
main proc
mov esi,0
mov edi, lengthof source - 1
mov ecx, sizeof source

l1:
mov eax, 0
mov al, source[esi]
mov target[edi],al
inc esi
dec edi
loop l1
call dumpregs

invoke exitprocess,0
main endp
end main

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 09:40, Tyrant4life
It is vital to research each of the services you plan to disable before implementing any change, especially on critical machines such as the: a. servers in the test environment. b. domain controller and other infrastructure servers. c. desktops that have previously been attacked. d. desktops used by upper-level management.
Answers: 2
image
Computers and Technology, 22.06.2019 10:40, Morghurley2000
"it security policy enforcement and monitoring" respond to the following: describe how monitoring worker activities can increase the security within organizations. describe the rationale that managers should use to determine the degree of monitoring that the organization should conduct. explain the extent to which you believe an organization has the right to monitor user actions and traffic. determine the actions organizations can take to mitigate the potential issues associated with monitoring user actions and traffic.
Answers: 3
image
Computers and Technology, 24.06.2019 02:00, akatherine1738
What is a loop? a. a collection of function definitions at the top of a program b. a line of code that defines a variable and assigns it a value c. a program that opens the turtle graphics window d. a block of code that repeats a specific number of times
Answers: 1
image
Computers and Technology, 24.06.2019 04:10, kris1920
Write a program that reads a set of floating-point values. ask the user to enter the values, then print • the average of the values. • the smallest of the values. • the largest of the values. • the range, that is the difference between the smallest and largest. of course, you may only prompt for the values once.
Answers: 3
You know the right answer?
Assembly language for x86 processors assignment.

use a loop and indexed addressing, to r...

Questions in other subjects: