--- tags: informatika, digitális technika, bájtsorrend --- # A 32 bites szavak bájtsorrendje ([endianness](https://hu.wikipedia.org/wiki/B%C3%A1jtsorrend)) <svg xmlns="http://www.w3.org/2000/svg" width="640" height="250"> <text font-size="20"> <tspan x="180" y="28">32 bites regiszter</tspan> <tspan x="350" y="28">2</tspan><tspan font-size="12" dy="-12">31</tspan><tspan dy="12"> ... 2<tspan font-size="12" dy="-12">0</tspan> </text> <g stroke="#000"> <path fill="#fff" d="M148 40h160v35H148z"/> <g fill="none"> <path d="M70 80v160M20 80v160m50-21H20m50-30H20m50-30H20m50-30H20m50-30H20m150 16h-35m75 30h-75m115 30H135m155 30H135m155 0V75"/> <path d="M250 75v100M210 75v70m-40-70v40"/> </g> </g> <text font-size="9"> <tspan x="23" y="109">0000</tspan> <tspan x="47" y="109">1010</tspan> <tspan x="23" y="139">0000</tspan> <tspan x="47" y="139">1011</tspan> <tspan x="23" y="169">0000</tspan> <tspan x="47" y="169">1100</tspan> <tspan x="23" y="199">0000</tspan> <tspan x="47" y="199">1101</tspan> </text> <text font-size="7"> <tspan x="152" y="50">0000</tspan> <tspan x="170" y="50">1010</tspan> <tspan x="192" y="50">0000</tspan> <tspan x="210" y="50">1011</tspan> <tspan x="230" y="50">0000</tspan> <tspan x="248" y="50">1100</tspan> <tspan x="270" y="50">0000</tspan> <tspan x="288" y="50">1101</tspan> </text> <text> <tspan x="35" y="125">0A</tspan> <tspan x="35" y="155">0B</tspan> <tspan x="35" y="185">0C</tspan> <tspan x="35" y="215">0D</tspan> <tspan x="160" y="69">0A</tspan> <tspan x="200" y="69">0B</tspan> <tspan x="240" y="69">0C</tspan> <tspan x="280" y="69">0D</tspan> </text> <text font-size="18"> <tspan x="8" y="63">Memória</tspan> </text> <text> <tspan x="75" y="210">cím + 3</tspan> <tspan x="75" y="120">cím + 0</tspan> <tspan x="75" y="150">cím + 1</tspan> <tspan x="75" y="180">cím + 2</tspan> <tspan x="126" y="240">„nagy elöl” - Big-endian</tspan> </text> <g stroke="#000"> <path fill="#fff" d="M330 40h160v35H330z"/> <g fill="none"> <path d="M570 80v160m50-160v160m-50-20h50m-50-30h50"/> <path d="M570 160h50m-50-30h50m-50-30h50m-150 15h36m-76 30h76m-116 30h116m-156 30h156m-156 0V75"/> <path d="M390 75v100m40-100v70m40-70v40"/> </g> </g> <text font-size="9"> <tspan x="574" y="109">0000</tspan> <tspan x="596" y="109">1101</tspan> <tspan x="574" y="139">0000</tspan> <tspan x="596" y="139">1100</tspan> <tspan x="574" y="169">0000</tspan> <tspan x="596" y="169">1011</tspan> <tspan x="574" y="199">0000</tspan> <tspan x="596" y="199">1010</tspan> </text> <text font-size="7"> <tspan x="333" y="50">0000</tspan> <tspan x="350" y="50">1010</tspan> <tspan x="373" y="50">0000</tspan> <tspan x="390" y="50">1011</tspan> <tspan x="413" y="50">0000</tspan> <tspan x="430" y="50">1100</tspan> <tspan x="453" y="50">0000</tspan> <tspan x="470" y="50">1101</tspan> </text> <text> <tspan x="585" y="125">0D</tspan> <tspan x="585" y="155">0C</tspan> <tspan x="585" y="185">0B</tspan> <tspan x="585" y="215">0A</tspan> <tspan x="340" y="69">0A</tspan> <tspan x="380" y="69">0B</tspan> <tspan x="420" y="69">0C</tspan> <tspan x="460" y="69">0D</tspan> </text> <text font-size="18"> <tspan x="556" y="63">Memória</tspan> </text> <text> <tspan x="335" y="240">„kicsi elöl” - Little-endian</tspan> <tspan x="510" y="210">cím + 3</tspan> <tspan x="510" y="120">cím + 0</tspan> <tspan x="510" y="150">cím + 1</tspan> <tspan x="510" y="180">cím + 2</tspan> </text> </svg>