大端和小端的简单笔记

我们写数字,比如100000

是先写高位1,再从高往低写到最低位0

但是Windows操作系统环境下80386CPU读写一般采取完全遵照从低到高

比如mov EAX,mytest ;mytest为变量名

那么从mytest低位开始

mytest低位写入eax低位

同样,定义数据时

比如ABCDh

CD先放到内存低位

然后AB放到内存高位

这样就变成了 CD AB

  • Copyright: Copyright is owned by the author. For commercial reprints, please contact the author for authorization. For non-commercial reprints, please indicate the source.

扫一扫,分享到微信

微信分享二维码
  • Copyrights © 2019-2024 kier Val
  • Visitors: | Views: