subject

Use a loop with indirect or indexed addressing to reverse the elements of an integer array in place. donot copy the elements to any other array. use the sizeof, type, and lengthof operators to makethe program as flexible as possible if the array size and type should be changed in the future. optionally, you may display the modified array by calling the dumpmem method from the irvine32 library. my current code: .dataarray byte 10h, 20h, 30h, 40h. codemain proc mov esi, 0 mov edi, 0 mov esi, offset array + sizeof array - 1 mov edi, offset array + sizeof array - 1 mov ecx, sizeof array/2l1: mov al, [esi] mov bl, [edi] mov [edi], al mov [esi], bl inc esi dec edi loop l1 call dumpregs call dumpmem exitmain endpend main

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 15:00
Visually impaired individuals generally rely on the for navigation. thus, designers need to ensure that mouse-specific inputs, such as pointing, clicking, and hovering, can be done without a mouse.
Answers: 1
question
Computers and Technology, 23.06.2019 20:30
If an appliance consumes 500 w of power and is left on for 5 hours, how much energy is used over this time period? a. 2.5 kwh b. 25 kwh c. 250 kwh d. 2500 kwh
Answers: 1
question
Computers and Technology, 24.06.2019 12:50
When is it most apprpriate for a development team to change the definition of done
Answers: 1
question
Computers and Technology, 24.06.2019 17:30
List at least one thing to check for when you're checking the clarity and professionalism of a document.
Answers: 1
You know the right answer?
Use a loop with indirect or indexed addressing to reverse the elements of an integer array in place....
Questions
question
Mathematics, 15.04.2021 17:10
question
History, 15.04.2021 17:10
question
Mathematics, 15.04.2021 17:10
question
Mathematics, 15.04.2021 17:10
Questions on the website: 13722367