大端和小端表示 [英] Big endian and Little endian representations

查看:115
本文介绍了大端和小端表示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我写以下内容

section .data
    align 4
    X:  db 1
    Y:  dw 5
    Z:  db 0x11
section .text
    add dword [X], 0xAA000101

我试图理解大尾数表示法和小尾数表示法之间的区别,但我不理解每个表示法的每个变量的值是什么?他们会一样吗?

I'm trying to understand the differences between the big endian and the little endian representations, and I don't understand what will be the value of each variable for each representation? Will they be the same?

推荐答案

看看这些图片:

这是所有体系结构/指令集的字节序列表

This is the list of endiannesses for all architectures/instruction sets

这篇关于大端和小端表示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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