为什么x86的小尾数? [英] Why is x86 little endian?

查看:260
本文介绍了为什么x86的小尾数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我一直在问自己最近一个真正的问题是什么带来的设计选择86左右是一个小端架构,而不是大端架构?

A real question that I've been asking myself lately is what design choices brought about x86 being a little endian architecture instead of a big endian architecture?

推荐答案

在很大程度上,你在开始时加,因为携带朝着更显著数字传播最显著数字(右端)一样的道理。把最显著字节开始允许处理器得到有只读的第一个字节后的附加开始的偏移量。

Largely, for the same reason you start at the least significant digit (the right end) when you add—because carries propagate toward the more significant digits. Putting the least significant byte first allows the processor to get started on the add after having read only the first byte of an offset.

在你已经做了足够的组件的编码和调试,你可以来,这不是小尾数是这样的结论奇怪的选择 - 这是奇怪的是,我们人类使用大端。

After you've done enough assembly coding and debugging you may come to the conclusion that it's not little endian that's the strange choice—it's odd that we humans use big endian.

这篇关于为什么x86的小尾数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆