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

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 07:00
Why is investing in a mutual fund less risky than investing in a particular company's stock? a. mutual funds only invest in blue-chip stocks. b. investments in mutual funds are more liquid. c. mutual funds hold a diversified portfolio of stocks. d. investments in mutual funds offer a higher rate of return.
Answers: 2
question
Computers and Technology, 23.06.2019 23:00
Computer programming is one type of what career
Answers: 1
question
Computers and Technology, 24.06.2019 15:00
Universal windows platform is designed for which windows 10 version?
Answers: 1
question
Computers and Technology, 24.06.2019 20:10
Approximately what portion of global employers tends to use social media websites to hire new employees?
Answers: 1
You know the right answer?
Assembly language for x86 processors assignment.

use a loop and indexed addressing, to r...
Questions
question
Mathematics, 29.01.2020 22:44
Questions on the website: 13722362