I study 8086 assembler in high school and I have this question:
For example, I have this number ABCD (hex). How is it stored in memory?
Is there an AB, for example, in memory address 01, and the CD goes to address 02?
8086 saves values ββin a slightly endian format . Therefore, the lower order byte (i.e., the CD) is written first, and then the high byte is stored. So in your case it will be address 01 will have CD and 02 will be AB.
Depends on the Endianness of the system you are working on.
x86 uses a bit of endian, so the ABCD value will appear in memory as a CD, followed by AB
8086 uses the small endian format .
Source: https://habr.com/ru/post/1307539/More articles:JQuery - moving div around - jqueryChange the appearance of text in vim - vimhow to specify in the qmake 4.5.pro file that I want to ignore the library in msvc8 (2005) - visual-c ++Is ajax + comet + asp.net scalable? - ajaxPossible error in ASP.NET UpdatePanel? - .netIt should be very easy. How to find a button through its value (jQuery Selector) - jqueryDelphi - creating hidden MDI child forms - formsX-PAYPAL-SECURITY-USERID, PASSWORD AND SIGNATURE - paypalCounting substrings in string [] - c #Saving selected rows in jqGrid while swapping - jqueryAll Articles