Question: Programming Exercise 1 : - CONVERTING FROM BIG ENDIAN TO LITTLE ENDIAN Write a program that uses the variables below and MOV instructions to copy

Programming Exercise 1 :-
CONVERTING FROM BIG ENDIAN TO LITTLE ENDIAN
Write a program that uses the variables below and MOV instructions to copy the value from bigEndian to littleEndian, reversing the order of the bytes.
The number's 32-bit value is understood to be 12345678 hexadecimal.
data
bigEndian BYTE 12h,34h,56h,78h
littleEndian DWORD?
Hint: Using DumpMem is the best way to show the effect - byte orders "before" and "after"
Sample output:
DumpMem output showing Big Endian Byte order
Dump of offset 001E6000
DumpMem output showing Little Endian Byte order
Dump of offset 001E6004
78,56,34,12
IMPORTANT: for this exercise, NOT allowable to use any one of these directives: .IF,.ELSE, .ELSEIF, .WHILE, .REPEAT, etc
please include irvine32 at the top and comments to explain
 Programming Exercise 1 :- CONVERTING FROM BIG ENDIAN TO LITTLE ENDIAN

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!