dimanche 15 mars 2015

Convert from bigEndian to littleEndian c++, Machine language. Visual Studio


"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?



Aucun commentaire:

Enregistrer un commentaire