Question: Write a program that rearranges the value of three doubleword values in the following array as: 3, 1, 2 BASE OF Program:----------------------------- TITLE Numbers ;

Write a program that rearranges the value of three doubleword values in the following array as: 3, 1, 2

BASE OF Program:-----------------------------

TITLE Numbers

; Change,2,3 into 3,1,2

; 2/7/2018

INCLUDE Irvine32.inc

.data

arrayD DWORD 1,2,3

.code

main PROC

MOV esi, OFFSET arrayD

MOV ecx, 3

MOV ebx, 4

CALL DumpMem

exit

main ENDP

END main

--------------------------------------

How can I do this so it displays the numbers 3,1,2?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!