# Bit-Nummerierung und Bit-Reihenfolge

> Jedes Bit eines Werts mit seiner Wertigkeit und seiner Nummer nach LSB 0, MSB 0 und 1-basierter Nummerierung, das Feld, das Sie als Bits i bis j angeben, der Wert mit umgekehrten Bits und in der Reihenfolge, in der ein Link ihn sendet, eine gedruckte Bitfolge in der Reihenfolge gelesen, in der sie gedruckt wurde, und eine MAC-Adresse in kanonischer und bitumgekehrter Form, mit benannten I/G- und U/L-Bits. Layouts für den LACP-Zustand, die TCP-Flags, die DNS-Flags, das ToS-Oktett und das 802.1Q-Tag.

- Tool: https://ronutz.com/de/tools/bit-numbering-and-order
- Family: Netzwerk

---

## Was das Tool tut

Jedes Bit einer Binärzahl hat eine Wertigkeit, und Dokumente sind sich uneinig, wie jedes einzelne heißt. Das niedrigstwertige Bit (LSB, Least Significant Bit) ist das mit dem Wert 1, das höchstwertige Bit (MSB, Most Significant Bit) das mit dem höchsten Wert, und die drei gebräuchlichen Nummerierungen zählen von verschiedenen Enden oder beginnen mit einer anderen Zahl. Die Seite beantwortet die Fragen, die daraus folgen, in drei Modi:

- **Wert.** Eine Zahl und ihre Breite: jedes Bit mit seiner Wertigkeit und seiner Nummer nach LSB 0, MSB 0 und 1-basierter Nummerierung, die gesetzten Bits in jeder Nummerierung, die Anzahl der Einsen und das Paritätsbit, das niedrigste und das höchste gesetzte Bit, die Lesart im Zweierkomplement, der Wert mit umgekehrten Bits, Oktett für Oktett und als Ganzes, die vertauschten Oktette und die Reihenfolge der Bits auf einem Link, der das niedrigstwertige Bit zuerst sendet, und auf einem, der das höchstwertige zuerst sendet. Optional benennt ein bekanntes Layout jedes Feld, und „Bits i bis j“ in einer beliebigen Nummerierung ergeben Maske, Shift und Wert des Felds.
- **Gedruckte Bits.** Eine Folge aus 0 und 1, wie ein Gerät sie ausgegeben hat, mit der Reihenfolge, in der sie ausgegeben wurde: der Wert, für den sie steht, und der Wert, den dieselbe Folge ergibt, wenn man sie andersherum liest.
- **MAC-Adresse.** Eine 48-Bit-Adresse für Media Access Control (MAC), in kanonischer oder bitumgekehrter Form geschrieben: beide Formen, die Bits I/G (individual/group) und U/L (universal/local), der Quadrant einer lokalen Adresse nach dem Structured Local Address Plan (SLAP) und die 48 Bits in der Reihenfolge, in der ein Ethernet-Link sie sendet.

Alles wird in Ihrem Browser berechnet.

## Die drei Nummerierungen

- **LSB 0**: Bit 0 ist das niedrigstwertige, Bit k hat also den Wert 2 hoch k. Das Handbuch von Intel fasst es in einem Satz: „Bit positions are numbered from right to left. The numerical value of a set bit is equal to two raised to the power of the bit position“ ([Intel SDM volume 1](https://cdrdv2-public.intel.com/825744/253665-sdm-vol-1.pdf), 1.3.1). Der Linux-Kernel schreibt Masken genauso, `BIT(nr)` als `1 << nr` und `GENMASK(h, l)` als „a contiguous bitmask starting at bit position @l and ending at position @h“ ([include/linux/bits.h](https://raw.githubusercontent.com/torvalds/linux/master/include/linux/bits.h)).
- **MSB 0**: Bit 0 ist das höchstwertige. Jedes Diagramm in einem RFC (Request for Comments) verwendet diese Nummerierung: „the bit labeled 0 is the most significant bit“, das als `1 0 1 0 1 0 1 0` gezeichnete Oktett ist also 170 ([RFC 791](https://www.rfc-editor.org/rfc/rfc791.txt), Anhang B). Auch die z/Architecture von IBM nummeriert ihre Register so: Im 24-Bit-Adressierungsmodus gilt „bits 0-39 of the intermediate value are ignored“ ([IBM SA22-7832-13](https://publibfi.dhe.ibm.com/epubs/pdf/a227832d.pdf)).
- **1-basiert**: Bit 1 ist das niedrigstwertige. Das Simple Network Management Protocol (SNMP) legt einen BITS-Wert in „bits 8 (high order bit) to 1 (low order bit)“ jedes Oktetts ab ([RFC 3417](https://www.rfc-editor.org/rfc/rfc3417.txt), Abschnitt 8), und `display eth-trunk` von Huawei dokumentiert den LACP-PortState als Bit 1 bis Bit 8 ([Huawei, Link Aggregation Commands](https://support.huawei.com/enterprise/en/doc/EDOC1100514211/54c5f31b/link-aggregation-commands)).

Bei einer Breite von w Bit ist Bit k nach LSB 0 das Bit w - 1 - k nach MSB 0 und Bit k + 1 in 1-basierter Nummerierung. Die Seite zeigt für jedes Bit alle drei, sodass sich eine Nummer aus einem Dokument in einem anderen wiederfinden lässt.

## Wert: die Eingaben

- **Wert**: hexadezimal mit `0x` (`0x3D`), binär mit `0b` (`0b0011_1101`) oder Dezimalziffern (`61`); einzelne Leerzeichen oder Unterstriche dürfen Zifferngruppen trennen. Ein Minuszeichen vor einer Dezimalzahl ergibt ihre Bits im Zweierkomplement. Eine Folge von Hexziffern ohne `0x` wird mit einem Hinweis abgelehnt, sodass `10` nie stillschweigend zehn oder sechzehn ist.
- **Breite**: 1 bis 64 Bit. Leer gelassen, ergibt sie sich aus der Eingabe: vier Bit pro Hexadezimalziffer und eines pro Binärziffer, führende Nullen eingeschlossen (`0x0800` hat also 16 Bit), oder die kleinste aus 8, 16, 32 und 64, die einen Dezimalwert fasst.
- **Layout** (optional), für einen Wert mit der Breite des Layouts:
  - **LACP-Zustand** (8 Bit): das Oktett Actor_State oder Partner_State des Link Aggregation Control Protocol (LACP). Der Standard 802.1AX des Institute of Electrical and Electronics Engineers (IEEE) nummeriert die Bits 0 (LACP_Activity) bis 7 (Expired) ([IEEE8023-LAG-MIB](https://www.ieee802.org/1/files/public/MIBs/IEEE8021-AX-MIB-202005290000Z.mib)), die Masken des Linux-Treibers reichen von `0x1` bis `0x80` ([if_bonding.h](https://raw.githubusercontent.com/torvalds/linux/master/include/uapi/linux/if_bonding.h)), und Huawei gibt dieselben Bits als Bit 1 bis Bit 8 aus.
  - **Erstes MAC-Oktett** (8 Bit): „The least significant bit of Octet 0 (the I/G bit)“ und „the second least significant bit of Octet 0 (the U/L bit)“ ([IEEE RA guidelines](https://standards-support.ieee.org/hc/en-us/articles/4888705676564-Guidelines-for-Use-of-Extended-Unique-Identifier-EUI-Organizationally-Unique-Identifier-OUI-and-Company-ID-CID)), mit den Bits Y und Z, die [RFC 9542](https://www.rfc-editor.org/rfc/rfc9542.txt) darüber zeichnet (Abschnitt 2.1).
  - **TCP-Flags** (8 Bit): das vierzehnte Oktett des Headers, CWR, ECE, URG, ACK, PSH, RST, SYN, FIN ([RFC 9293](https://www.rfc-editor.org/rfc/rfc9293.txt), Abschnitt 3.1). Die Internet Assigned Numbers Authority (IANA) nummeriert sie in ihrer Registry TCP Header Flags als 8 bis 15 ([IANA](https://www.iana.org/assignments/tcp-parameters/tcp-parameters.xml)), Linux als `BIT(7)` bis `BIT(0)` ([include/net/tcp.h](https://raw.githubusercontent.com/torvalds/linux/master/include/net/tcp.h)).
  - **DNS-Flags** (16 Bit): das zweite Wort des Headers im Domain Name System (DNS), QR, Opcode, AA, TC, RD, RA, Z, AD, CD und RCODE, wie [RFC 1035](https://www.rfc-editor.org/rfc/rfc1035.txt) (Abschnitt 4.1.1) und [RFC 6895](https://www.rfc-editor.org/rfc/rfc6895.txt) (Abschnitt 2) sie zeichnen; die Registry DNS Header Flags der IANA nummeriert AA als Bit 5 bis CD als Bit 11 ([IANA](https://www.iana.org/assignments/dns-parameters/dns-parameters.xml)).
  - **IPv4-ToS** (8 Bit): das Type-of-Service-Oktett, die Traffic Class von IPv6: der Differentiated Services Codepoint (DSCP) in den Bits 0 bis 5 ([RFC 2474](https://www.rfc-editor.org/rfc/rfc2474.txt), Abschnitt 3) und Explicit Congestion Notification (ECN) in „Bits 6 and 7“ ([RFC 3168](https://www.rfc-editor.org/rfc/rfc3168.txt), Abschnitt 5), mit dem Namen des ECN-Codepoints.
  - **802.1Q-TCI** (16 Bit): Priorität, DEI (Drop Eligible Indicator) und VLAN-ID (Virtual Local Area Network) des Tags, mit den Masken des Linux-Kernels `0xe000` (Shift 13), `0x1000` und `0x0fff` ([include/linux/if_vlan.h](https://raw.githubusercontent.com/torvalds/linux/master/include/linux/if_vlan.h)).
- **Bits i bis j** (optional): eine Nummerierung und eine oder zwei Bitnummern. Maske, Shift und Wert des Felds, der C-Ausdruck `(v >> shift) & mask` und `GENMASK(hi, lo)` des Kernels (oder `BIT(n)` für ein einzelnes Bit) sowie dieselben Bits in den beiden anderen Nummerierungen.

## Wert: die Regeln

- **Zweierkomplement.** Der als vorzeichenbehaftete Zahl gelesene Wert ist negativ, wenn sein oberstes Bit gesetzt ist; für 8, 16, 32 und 64 Bit gilt der Satz von Intel: „The sign bit is located in bit 7 in a byte integer, bit 15 in a word integer, bit 31 in a doubleword integer, and bit 63 in a quadword integer“ (Intel SDM, 4.2.1.2).
- **Niedrigstes und höchstes gesetztes Bit.** In Nummern nach LSB 0, also das, was die Befehle BSF und BSR von Intel zurückgeben: „the offset from the least significant bit (bit 0) in the bit string to the first set bit“ (7.3.7.2).
- **Parität.** Gerade Parität ergänzt das Bit, das „an even number of logic 1s in the data and parity bits“ ergibt, ungerade Parität das Bit, das die Zahl ungerade macht ([TI TL16C550D](https://www.ti.com/lit/ds/symlink/tl16c550d.pdf), Bit 4 des Line Control Register).
- **Umkehrung.** „Alle Bits umgekehrt“ spiegelt die ganze Breite; „Bits in jedem Oktett umgekehrt“ spiegelt jedes Oktett an seinem Platz, die Vertauschung, die [RFC 2469](https://www.rfc-editor.org/rfc/rfc2469.txt) zwischen kanonischen und Token-Ring-Adressen beschreibt; „Oktette vertauscht“ ist die Byte-Reihenfolge, die [Big-Endian und Little-Endian](https://ronutz.com/de/learn/big-endian-and-little-endian) erklärt. Die ganze Breite zu spiegeln sind die beiden anderen zusammen. Das eigene CRC-32 des Linux-Kernels, eine zyklische Redundanzprüfung (Cyclic Redundancy Check, CRC), zeigt eine Umkehrung: Dasselbe Polynom ist `0x04c11db7` mit dem höchstwertigen Bit zuerst und `0xedb88320` mit dem niedrigstwertigen Bit zuerst ([include/linux/crc32.h](https://raw.githubusercontent.com/torvalds/linux/master/include/linux/crc32.h)).
- **Auf der Leitung.** Bei ganzen Oktetten die Bits in der Reihenfolge, in der ein Link sie sendet, Oktett für Oktett, die Oktette in der geschriebenen Reihenfolge (das höchstwertige zuerst, so wie die Netzwerk-Byte-Reihenfolge eine Zahl sendet, RFC 791). Das niedrigstwertige Bit zuerst ist die Reihenfolge von Ethernet, die Umkehrung dessen, was die Internet Engineering Task Force (IETF) zeichnet: „the physical order of bit transmission within an octet on an IEEE [802.3] link is from the lowest order bit to the highest order bit (i.e., the reverse of the IETF's ordering)“ (RFC 9542, Abschnitt 1.1); ein UART (Universal Asynchronous Receiver-Transmitter) macht es genauso, „Bit 0 is the least significant bit. It is the first bit serially transmitted or received“ (TI TL16C550D), ebenso das Point-to-Point Protocol (PPP): „All octets are transmitted least significant bit first“ ([RFC 1662](https://www.rfc-editor.org/rfc/rfc1662.txt), Abschnitte 4.5.2 und 5.5). Das höchstwertige Bit zuerst ist die Regel auf einem I2C-Bus, „Data is transferred with the Most Significant Bit (MSB) first“ ([NXP UM10204](https://www.nxp.com/docs/en/user-guide/UM10204.pdf), 3.1.5), und der Standard bei einem Bus mit Serial Peripheral Interface (SPI), „the 'MSB first' default for each word in a transfer“, den ein Gerät mit `SPI_LSB_FIRST` ändern kann ([include/linux/spi/spi.h](https://raw.githubusercontent.com/torvalds/linux/master/include/linux/spi/spi.h)).

## Gedruckte Bits

Geben Sie die Bits in der Reihenfolge ein, in der sie ausgegeben werden, und sagen Sie, welches Ende zuerst kommt. **Höchstwertiges Bit zuerst** ist die Reihenfolge, in der Zahlen geschrieben werden. **Niedrigstwertiges Bit zuerst** ist die Art, wie Huawei einen LACP-PortState ausgibt: Die Befehlsreferenz beschreibt „The status variable is eight bits, such as 10111100“ als Bit 1 bis Bit 8, in der Reihenfolge der Bits 0 bis 7 von 802.1AX; das erste Zeichen ist also LACP_Activity, das Bit mit dem Wert 1, und `10111100` ist das Oktett 0x3D (Huawei, Table 5-17). Andersherum gelesen, ergäbe dieselbe Folge 0xBC, und die Seite zeigt beides, weil eine falsch gelesene Reihenfolge die Zahl ändert, ohne dass ein Fehler auftritt. Es folgt die vollständige Auswertung des Werts, mit dem Layout für den LACP-Zustand, wenn Sie es wählen.

## MAC-Adresse

- **Kanonische Form** ist die Art, wie [RFC 2469](https://www.rfc-editor.org/rfc/rfc2469.txt) eine Adresse für die Anzeige definiert: „The first bit of each byte that appears on the LAN maps to the least significant (i.e., right-most) bit of each byte in memory“, was „puts the group address indicator ... in the least significant bit of the first byte“. So arbeitet Ethernet-Hardware.
- **Bitumgekehrte Form** („MSB format“, „non-canonical form“) ist die Art, wie Token Ring und manche FDDI-Adapter (Fiber Distributed Data Interface) Adressen speicherten: jedes Oktett mit umgekehrten Bits, sodass 12-34-56-78-9A-BC im Speicher als 48-2C-6A-1E-59-3D stand. Wählen Sie die Form, in der die Adresse geschrieben wurde; die Seite liefert die andere.
- **I/G und U/L.** Aus dem kanonischen ersten Oktett: I/G 0 für eine Station, 1 für eine Gruppe (Multicast oder Broadcast); U/L 0 für eine Adresse unter einem von der IEEE vergebenen Präfix, 1 für eine lokale (IEEE RA guidelines; RFC 9542). Der Linux-Kernel prüft sie als `0x01 & addr[0]` und `0x02 & addr[0]` ([include/linux/etherdevice.h](https://raw.githubusercontent.com/torvalds/linux/master/include/linux/etherdevice.h)).
- **SLAP-Quadrant.** Bei einer lokalen Adresse wählen die Bits Y und Z einen von vier Quadranten: Administratively Assigned (Y 0, Z 0), Extended Local (Y 0, Z 1), Reserved (Y 1, Z 0) und Standard Assigned (Y 1, Z 1) (RFC 9542, Abschnitt 2.1.1, Table 2); der Plan ist optional.
- **Auf der Leitung.** Die 48 Bits Oktett für Oktett, jeweils das niedrigstwertige Bit zuerst; das erste gesendete Bit ist also das I/G-Bit.
- **Die Zeile zur Fehllesung** zeigt, was jemand über I/G und U/L schließen würde, der die bitumgekehrte Form für die kanonische hielte. RFC 2469 hält die praktische Folge fest: Bridges zwischen Token Ring und Ethernet mussten „perform bit swaps of the addresses in the address fields of ARP packets“, der Pakete des Address Resolution Protocol (Abschnitt 3.2).

## Was das Tool ablehnt, und warum

Ein Feld mit mehr als 80 Zeichen; ein leeres Feld; hexadezimal ohne `0x` (mit einem Hinweis), ein Präfix, dem seine Ziffern nicht folgen, oktal, eine MAC-Adresse im Modus Wert (mit Verweis auf den Modus MAC-Adresse); ein Wert mit mehr als 64 Bit; eine Breite außerhalb von 1 bis 64 oder ein Wert, der nicht in seine Breite passt (mit den Bits, die er braucht), und eine negative Dezimalzahl außerhalb des Zweierkomplementbereichs der Breite; ein unbekanntes Layout, eine unbekannte Nummerierung, gedruckte Reihenfolge oder MAC-Form; ein Layout mit einer anderen Breite als der Wert (mit der zu setzenden Breite); eine Bitnummer, die keine ganze Zahl ist oder in der Breite für die gewählte Nummerierung nicht existiert (mit dem Bereich); ein letztes Bit ohne erstes; eine gedruckte Folge mit etwas anderem als 0, 1 und einzelnen Trennzeichen; und eine MAC-Adresse, die nicht aus sechs Oktetten in einer der vier Formen besteht.

## Durchgerechnete Beispiele

- **Die Flags 0x81A0 einer DNS-Antwort** (das Beispiel, aus dem Artikel unter „Lernen“ zum DNS-Header): Als DNS-Flags gelesen, sind QR, RD, RA und AD gesetzt. QR ist Bit 0 nach MSB 0 und Bit 15 nach LSB 0; RD, das die IANA als Bit 7 nummeriert, ist Bit 8 nach LSB 0.
- **Der PortState 10111100 von Huawei** (das Beispiel für gedruckte Bits), niedrigstwertiges Bit zuerst: 0x3D, gesetzt sind LACP_Activity, Aggregation, Synchronization, Collecting und Distributing; fälschlich mit dem höchstwertigen Bit zuerst gelesen, ist er 0xBC. Die Muster 10100000 und 10110000 sind 0x05 und 0x0D.
- **„0111101 (binary)“ bei Cisco**: Das Dokument von Cisco zur Fehlersuche bei EtherChannels nennt „The expected value for LACP flags is 0x3D (hex) or 0111101 (binary)“ ([Cisco, document 220367](https://www.cisco.com/c/en/us/support/docs/switches/catalyst-9300-series-switches/220367-troubleshoot-etherchannels-on-catalyst-9.html)). Als `0b0111101` eingegeben, sind diese sieben Ziffern ein 7-Bit-Wert, und das 8-Bit-Layout für LACP lehnt ihn ab; mit der Breite 8 kehrt die weggelassene führende Null zurück, und der Wert ist 0x3D, dasselbe Oktett, das Huawei als 10111100 ausgibt.
- **Die Adresse aus RFC 2469** (das Beispiel für MAC-Adressen): 12-34-56-78-9A-BC ist lokal (U/L 1) und individuell, Administratively Assigned nach SLAP, und bitumgekehrt 48-2C-6A-1E-59-3D; als kanonisch gelesen, sähe diese umgekehrte Form universell aus.
- **DSCP aus ToS 0xB8**: Die Bits 0 bis 5 nach MSB 0 sind die Bits 7 bis 2 nach LSB 0, `GENMASK(7, 2)`, Maske 0xFC, Shift 2, Wert 46.
- **Das CRC-32-Polynom 0x04C11DB7** ist bitumgekehrt 0xEDB88320, die beiden Formen desselben Polynoms im Kernel; die FCS-16-Konstante 0x8408 aus RFC 1662 ist umgekehrt 0x1021.

## Was das Tool nicht tut

Es liest Werte und Adressen, die Sie eingeben; es schneidet keinen Datenverkehr mit und kommuniziert mit keinem Gerät. Es berechnet keine Prüfsummen oder CRCs, wandelt die Byte-Reihenfolge nicht über die Anzeige der vertauschten Oktette hinaus um, dekodiert keine ganzen Header (das tun der [802.1Q-Tag-Decoder](https://ronutz.com/de/tools/vlan-tag-and-trunk-calculator), „[LACP-Auswertung: Member-Link und Zustand](https://ronutz.com/de/tools/lacp-hash-and-state-reader)“ und die DNS-Tools) und nennt nicht den Hersteller einer MAC-Adresse (das tut die [OUI-/MAC-Herstellersuche](https://ronutz.com/de/tools/oui-lookup)).

## Ergebnisse teilen

Unter der Überschrift des Ergebnisses erzeugt **Ergebnisse teilen** einen Link auf diese Seite, und zwar nur, wenn Sie die Schaltfläche wählen. Der Link enthält nach dem `#` das Feld so, wie eingegeben, und die Einstellungen des jeweiligen Modus: immer `input` und `mode` (`value`, `printed` oder `mac`); im Modus Wert `width`, wenn eingegeben, `layout`, wenn eines gewählt ist, und für ein Feld `numbering`, `from` und `to` (wenn eingegeben); im Modus Gedruckte Bits `order`, `layout` und das Feld wie im Modus Wert; im Modus MAC-Adresse `form`. Die Einstellungen der anderen Modi enthält er nicht.

Laut [RFC 3986](https://www.rfc-editor.org/rfc/rfc3986.txt) (Abschnitt 3.5, abgerufen am 08.11.2026) ist das Fragment „separated from the rest of the URI prior to a dereference“, also vor der Dereferenzierung vom Rest der URI getrennt; daher werden diese Werte beim Öffnen des Links nicht an den Server gesendet. Sie bleiben in der Adressleiste und im Verlauf dessen, der den Link öffnet, und wer den Link hat, kann sie lesen.

- **Länge.** Ein Link enthält höchstens 16.384 Zeichen, die Grenze, die die Website für jeden Wert nach dem `#` setzt; diese Felder sind weit kürzer.
- **Öffnen eines Links.** Der Modus und seine Einstellungen werden so gesetzt, wie die Eingabe sie setzen würde, die anderen Modi behalten ihre Werte, und die Seite rechnet. Ein Link mit einem unbekannten Modus, Layout, einer unbekannten Reihenfolge, Form oder Nummerierung, mit einer Einstellung eines anderen Modus, einer Breite oder Bitnummer, die nicht aus einer bis drei Ziffern besteht, einem `to` ohne `from`, einer Nummerierung ohne `from` oder einem Feld über mehr als eine Zeile oder mit mehr als 80 Zeichen wird ignoriert. Ob angenommen oder nicht, die Werte verschwinden danach sofort aus der Adresse der Seite, ohne dass eine Anfrage gesendet wird; ein Neuladen, ein Lesezeichen oder die Schaltfläche „Teilen“ der Seite überträgt daher nichts, was Sie nicht selbst teilen wollten.

## Herkunft

Die Engine ist feste Bit-Arithmetik auf BigInt-Werten, ohne Uhr, ohne Netzwerk und ohne Zufall. Ihre Referenzvektoren (Golden Vectors, Satz `bit-numbering-and-order-golden-2026-11-08`) legen fest: alle 256 Oktette im Modus Wert und gedruckt mit dem niedrigstwertigen Bit zuerst, Breiten von 1 bis 64 (alle Bits gesetzt und nur das oberste Bit), die Ableitung der Breite aus hexadezimalen, binären und dezimalen Eingaben, negative Dezimalzahlen, jedes Layout mit mehreren Werten, Felder in allen drei Nummerierungen einschließlich des Kernel-eigenen Beispiels `GENMASK_ULL(39, 21)`, gedruckte Folgen in beiden Reihenfolgen mit Trennzeichen, MAC-Adressen in jeder Form und jedem SLAP-Quadranten, die Beispiele und Muster, die Sätze, die die Regeln transportieren, die Texte der API und die Ablehnungen. Jeder erwartete Wert wurde von einem separaten Python-Modell berechnet, das nach den Dokumenten geschrieben wurde (Bits als Text, Positionen als Zeichenfolgenindizes, Umkehrung durch Umkehren des Texts, Oktette über `int.to_bytes`), nicht durch Ausführen dieser Engine.

## API

Dieselbe Engine beantwortet `/api/v1/bit-numbering-and-order` in der HTTP-API der Website; der Vertrag steht auf der [API-Seite](https://ronutz.com/de/api), die auch angibt, ob diese Website die API bereitstellt.

- **Anfrage.** Ein JSON-Objekt. Wert: `{"mode": "value", "input": "0x81A0", "width": 16, "layout": "dns-flags", "numbering": "msb0", "from": 1, "to": 4}`; `width`, `layout`, `numbering`, `from` und `to` sind optional. Gedruckt: `{"mode": "printed", "input": "10111100", "order": "lsb-first", "layout": "lacp"}`; `order` (standardmäßig `msb-first`) und der Rest sind optional. MAC: `{"mode": "mac", "input": "48-2C-6A-1E-59-3D", "form": "reversed"}`; `form` (standardmäßig `canonical`) ist optional.
- **Antwort, Wert und gedruckt.** `mode`, `width`, `widthInferred`, `hex`, `decimal`, `signed`, `binary`, `binaryLsbFirst`, `octets`, `bits` (jedes mit `lsb0`, `msb0`, `one`, `weight`, `set`), `setBits` (`lsb0`, `msb0`, `one`), `ones`, `parityEven`, `parityOdd`, `lowestSet`, `highestSet`, `reversed`, `reversedPerOctet`, `byteSwapped`, `wire` (`lsbFirst`, `msbFirst`), `printed` (`order`, `typed`, `otherHex`, `otherDecimal` oder null), `layout` (`id`, `width`, `fields`, `numberingNote` oder null), `field` (`numbering`, `from`, `to`, `lsb0Hi`, `lsb0Lo`, `msb0From`, `msb0To`, `oneHi`, `oneLo`, `span`, `mask`, `shift`, `value`, `valueHex`, `bits`, `expression`, `kernel` oder null) und `notes`.
- **Antwort, MAC.** `mode`, `form`, `formDefault`, `canonical`, `canonicalColon`, `reversed`, `firstOctetBits`, `group`, `local`, `broadcast`, `slap` (`y`, `z`, `quadrant`, `name` oder null), `wire`, `firstBitOnWire`, `reversedMisread` (`group`, `local`) und `notes`.
- **Fehler.** HTTP 400, `invalid_input`, mit der Meldung der Engine, zum Beispiel `"3D" looks hexadecimal: write it with 0x in front (0x3D), so it is not read as decimal.`.

## Quellen

- [Intel 64 and IA-32 Architectures Software Developer's Manual, volume 1, 253665-084US, June 2024](https://cdrdv2-public.intel.com/825744/253665-sdm-vol-1.pdf) (abgerufen am 08.11.2026): 1.3.1, 4.2.1.2, 7.3.7
- [IBM z/Architecture Principles of Operation, SA22-7832-13, May 2022](https://publibfi.dhe.ibm.com/epubs/pdf/a227832d.pdf) (abgerufen am 08.11.2026): Kapitel 3
- [RFC 791, Internet Protocol](https://www.rfc-editor.org/rfc/rfc791.txt) (STD 5, abgerufen am 08.11.2026): Anhang B
- [RFC 1035, Domain Names: Implementation and Specification](https://www.rfc-editor.org/rfc/rfc1035.txt) (STD 13, abgerufen am 08.11.2026): Abschnitte 2.3.2 und 4.1.1; [RFC 6895](https://www.rfc-editor.org/rfc/rfc6895.txt) (BCP 42, abgerufen am 08.11.2026): Abschnitt 2; [IANA, DNS Header Flags](https://www.iana.org/assignments/dns-parameters/dns-parameters.xml) (aktualisiert am 16.10.2026, abgerufen am 08.11.2026)
- [RFC 3417, Transport Mappings for SNMP](https://www.rfc-editor.org/rfc/rfc3417.txt) (STD 62, abgerufen am 08.11.2026): Abschnitt 8
- [Huawei, S5700 and S6700 V200R025C00 Command Reference, Link Aggregation Commands](https://support.huawei.com/enterprise/en/doc/EDOC1100514211/54c5f31b/link-aggregation-commands) (am 08.11.2026 im Browser abgerufen: Die Website verweigert automatisierte Abrufe): display eth-trunk, Table 5-17
- [Cisco, Troubleshoot EtherChannels on Catalyst 9000 Switches, document 220367](https://www.cisco.com/c/en/us/support/docs/switches/catalyst-9300-series-switches/220367-troubleshoot-etherchannels-on-catalyst-9.html) (aktualisiert am 8. August 2024; am 08.11.2026 im Browser abgerufen: Die Website verweigert automatisierte Abrufe): die erwarteten LACP-Flags
- [IEEE8023-LAG-MIB for IEEE 802.1AX-2020](https://www.ieee802.org/1/files/public/MIBs/IEEE8021-AX-MIB-202005290000Z.mib) (abgerufen am 08.11.2026) und [include/uapi/linux/if_bonding.h](https://raw.githubusercontent.com/torvalds/linux/master/include/uapi/linux/if_bonding.h) aus dem Linux-Kernel (abgerufen am 08.11.2026)
- [RFC 9542, IANA Considerations and IETF Protocol and Documentation Usage for IEEE 802 Parameters](https://www.rfc-editor.org/rfc/rfc9542.txt) (BCP 141, abgerufen am 08.11.2026): Abschnitte 1.1, 2.1, 2.1.1, 2.1.4 und 2.3.1
- [RFC 2469, A Caution On The Canonical Ordering Of Link-Layer Addresses](https://www.rfc-editor.org/rfc/rfc2469.txt) (Informational, abgerufen am 08.11.2026): Abschnitte 2 und 3
- [IEEE Registration Authority, Guidelines for Use of EUI, OUI and CID](https://standards-support.ieee.org/hc/en-us/articles/4888705676564-Guidelines-for-Use-of-Extended-Unique-Identifier-EUI-Organizationally-Unique-Identifier-OUI-and-Company-ID-CID) (aktualisiert am 1. April 2022, abgerufen am 08.11.2026)
- [RFC 1662, PPP in HDLC-like Framing](https://www.rfc-editor.org/rfc/rfc1662.txt) (STD 51, abgerufen am 08.11.2026): Abschnitte 3.1, 4.5.2, 5.5 und Anhang C.1
- [Texas Instruments, TL16C550D](https://www.ti.com/lit/ds/symlink/tl16c550d.pdf) (SLLS597E, abgerufen am 08.11.2026)
- [NXP Semiconductors, UM10204 I2C-bus specification and user manual, Rev. 7.0, 1 October 2021](https://www.nxp.com/docs/en/user-guide/UM10204.pdf) (am 08.11.2026 im Browser abgerufen: Die Website verweigert automatisierte Abrufe): 3.1.5 Byte format, Figure 10
- Der Quellcode des Linux-Kernels, torvalds/linux master (abgerufen am 08.11.2026): [include/linux/spi/spi.h](https://raw.githubusercontent.com/torvalds/linux/master/include/linux/spi/spi.h), [include/linux/bits.h](https://raw.githubusercontent.com/torvalds/linux/master/include/linux/bits.h), [include/linux/crc32.h](https://raw.githubusercontent.com/torvalds/linux/master/include/linux/crc32.h), [include/linux/etherdevice.h](https://raw.githubusercontent.com/torvalds/linux/master/include/linux/etherdevice.h), [include/net/tcp.h](https://raw.githubusercontent.com/torvalds/linux/master/include/net/tcp.h) und [include/linux/if_vlan.h](https://raw.githubusercontent.com/torvalds/linux/master/include/linux/if_vlan.h)
- [IANA, TCP Header Flags](https://www.iana.org/assignments/tcp-parameters/tcp-parameters.xml) (aktualisiert am 22.10.2026, abgerufen am 08.11.2026) und [RFC 9293, Transmission Control Protocol](https://www.rfc-editor.org/rfc/rfc9293.txt) (STD 7, abgerufen am 08.11.2026): Abschnitt 3.1
- [RFC 2474, the DS Field](https://www.rfc-editor.org/rfc/rfc2474.txt) (abgerufen am 08.11.2026): Abschnitt 3; [RFC 3168, ECN](https://www.rfc-editor.org/rfc/rfc3168.txt) (abgerufen am 08.11.2026): Abschnitt 5
- [RFC 3986, Uniform Resource Identifier (URI): Generic Syntax](https://www.rfc-editor.org/rfc/rfc3986.txt) (STD 66, abgerufen am 08.11.2026): Abschnitt 3.5
- [RFC Editor, RFC index](https://www.rfc-editor.org/rfc-index.xml) (abgerufen am 08.11.2026): der Status jedes oben genannten RFC

## Standards and references

- [Intel 64 and IA-32 Architectures Software Developer's Manual, volume 1, 253665-084US, June 2024: 1.3.1 Bit and Byte Order, 4.2.1.2 Signed Integers, 7.3.7 bit test and bit scan instructions](https://cdrdv2-public.intel.com/825744/253665-sdm-vol-1.pdf) - LSB 0: "Bit positions are numbered from right to left. The numerical value of a set bit is equal to two raised to the power of the bit position"; the sign bit in bit 7, 15, 31 or 63; BSF and BSR give "the offset from the least significant bit (bit 0)"
- [IBM z/Architecture Principles of Operation, SA22-7832-13, fourteenth edition, May 2022: chapter 3, information formats and operand addresses](https://publibfi.dhe.ibm.com/epubs/pdf/a227832d.pdf) - MSB 0 in a processor manual: "bits are numbered in a left-to-right sequence", an address's "bits are numbered 0-63", and in 24-bit mode "bits 0-39 of the intermediate value are ignored"
- [RFC 791, Internet Protocol, September 1981 (STD 5): Appendix B, Data Transmission Order](https://www.rfc-editor.org/rfc/rfc791.txt) - "the bit labeled 0 is the most significant bit"; the octet drawn 1 0 1 0 1 0 1 0 is 170; the most significant octet of a multi-octet quantity is transmitted first
- [RFC 1035, Domain Names: Implementation and Specification, November 1987 (STD 13): sections 2.3.2 and 4.1.1](https://www.rfc-editor.org/rfc/rfc1035.txt) - the same transmission-order rule; the header's flags word QR, Opcode, AA, TC, RD, RA, Z and RCODE as drawn
- [RFC 6895, Domain Name System (DNS) IANA Considerations, April 2013 (BCP 42): section 2](https://www.rfc-editor.org/rfc/rfc6895.txt) - the header drawing with AD and CD in the place of RFC 1035's Z bits
- [IANA, Domain Name System (DNS) Parameters, DNS Header Flags (registry updated 2026-10-16)](https://www.iana.org/assignments/dns-parameters/dns-parameters.xml) - AA bit 5, TC bit 6, RD bit 7, RA bit 8, bit 9 reserved, AD bit 10, CD bit 11 of the second 16-bit word (MSB 0)
- [RFC 3417, Transport Mappings for the Simple Network Management Protocol (SNMP), December 2002 (STD 62): section 8](https://www.rfc-editor.org/rfc/rfc3417.txt) - a BITS value is placed in "bits 8 (high order bit) to 1 (low order bit)" of each octet, first named bit first: 1-based numbering from the least significant bit
- [Huawei, S5700 and S6700 V200R025C00 Command Reference, Link Aggregation Commands: display eth-trunk and Table 5-17 PortState (read in a browser on 2026-11-08: the site refuses automated reads)](https://support.huawei.com/enterprise/en/doc/EDOC1100514211/54c5f31b/link-aggregation-commands) - "The status variable is eight bits, such as 10111100", described as Bit 1 to Bit 8 in the order of 802.1AX's bits 0 to 7; the example rows 10111100, 10100000 and 10110000
- [Cisco, Troubleshoot EtherChannels on Catalyst 9000 Switches, document 220367, updated 8 August 2024 (read in a browser on 2026-11-08: the site refuses automated reads)](https://www.cisco.com/c/en/us/support/docs/switches/catalyst-9300-series-switches/220367-troubleshoot-etherchannels-on-catalyst-9.html) - "The expected value for LACP flags is 0x3D (hex) or 0111101 (binary)", seven binary digits as printed (0x3D is 00111101 in 8 bits); its state table labels Expired the most significant bit and LACP Activity the least
- [IEEE 802.1 Working Group, IEEE8023-LAG-MIB (IEEE 802.1AX-2020), revision 2020-05-29: LacpState and dot3adAggPortActorAdminState](https://www.ieee802.org/1/files/public/MIBs/IEEE8021-AX-MIB-202005290000Z.mib) - LacpState BITS lacpActivity(0) to expired(7); "The first bit corresponds to bit 0 of the Actor_State (LACP_Activity)"
- [The Linux kernel source, include/uapi/linux/if_bonding.h (torvalds/linux master): LACP_STATE_* masks](https://raw.githubusercontent.com/torvalds/linux/master/include/uapi/linux/if_bonding.h) - LACP_STATE_LACP_ACTIVITY 0x1 to LACP_STATE_EXPIRED 0x80: 802.1AX's bit k is the bit of weight 2^k
- [RFC 9542, IANA Considerations and IETF Protocol and Documentation Usage for IEEE 802 Parameters, April 2024 (BCP 141): sections 1.1, 2.1, 2.1.1, 2.1.4 and 2.3.1](https://www.rfc-editor.org/rfc/rfc9542.txt) - bit transmission within an octet on an IEEE 802.3 link "from the lowest order bit to the highest order bit (i.e., the reverse of the IETF's ordering)"; the M, X, Y and Z bits of the first octet; the four SLAP quadrants; the documentation and 33-33 addresses of the samples
- [RFC 2469, A Caution On The Canonical Ordering Of Link-Layer Addresses, December 1998 (Informational): sections 2 and 3](https://www.rfc-editor.org/rfc/rfc2469.txt) - canonical form ("LSB format") against Token Ring's "MSB format"; 12-34-56-78-9A-BC held as 48-2C-6A-1E-59-3D; bridges that "perform bit swaps of the addresses" in ARP packets
- [IEEE Registration Authority, Guidelines for Use of Extended Unique Identifier (EUI), Organizationally Unique Identifier (OUI), and Company ID (CID), updated 1 April 2022](https://standards-support.ieee.org/hc/en-us/articles/4888705676564-Guidelines-for-Use-of-Extended-Unique-Identifier-EUI-Organizationally-Unique-Identifier-OUI-and-Company-ID-CID) - "The least significant bit of Octet 0 (the I/G bit)" and "the second least significant bit of Octet 0 (the U/L bit)"; EUI bit ordering, which "applications and protocols must unambiguously specify"
- [The Linux kernel source, include/linux/etherdevice.h (torvalds/linux master): is_multicast_ether_addr and is_local_ether_addr](https://raw.githubusercontent.com/torvalds/linux/master/include/linux/etherdevice.h) - the group test 0x01 & addr[0] and the local test 0x02 & addr[0] on the canonical address in memory
- [RFC 1662, PPP in HDLC-like Framing, July 1994 (STD 51): sections 3.1, 4.5.2, 5.5 and appendix C.1](https://www.rfc-editor.org/rfc/rfc1662.txt) - "All octets are transmitted least significant bit first"; binary numbers written most significant bit first, "contrary to standard ISO and CCITT practice which orders bits as transmitted"; the FCS-16 polynomial constant 0x8408
- [Texas Instruments, TL16C550D Asynchronous Communications Element with Autoflow Control, SLLS597E, revised December 2008](https://www.ti.com/lit/ds/symlink/tl16c550d.pdf) - "Bit 0 is the least significant bit. It is the first bit serially transmitted or received"; even parity is "an even number of logic 1s in the data and parity bits"
- [NXP Semiconductors, UM10204 I2C-bus specification and user manual, Rev. 7.0, 1 October 2021: 3.1.5 Byte format and Figure 10 (read in a browser on 2026-11-08: the site refuses automated reads)](https://www.nxp.com/docs/en/user-guide/UM10204.pdf) - "Data is transferred with the Most Significant Bit (MSB) first"; the first byte after START carries the target address from its most significant bit with the R/W bit as its least significant
- [The Linux kernel source, include/linux/spi/spi.h and include/uapi/linux/spi/spi.h (torvalds/linux master): spi_device mode, SPI_LSB_FIRST](https://raw.githubusercontent.com/torvalds/linux/master/include/linux/spi/spi.h) - the "MSB first" default for each word in a transfer, overridden by SPI_LSB_FIRST ("per-word bits-on-wire")
- [The Linux kernel source, include/vdso/bits.h and include/linux/bits.h (torvalds/linux master): BIT and GENMASK](https://raw.githubusercontent.com/torvalds/linux/master/include/linux/bits.h) - BIT(nr) is (1 << nr); GENMASK(h, l) is "a contiguous bitmask starting at bit position @l and ending at position @h", and GENMASK_ULL(39, 21) is 0x000000ffffe00000
- [The Linux kernel source, include/linux/crc32.h (torvalds/linux master): crc32_le and crc32_be](https://raw.githubusercontent.com/torvalds/linux/master/include/linux/crc32.h) - the same CRC-32 polynomial least-significant-bit-first as 0xedb88320 and most-significant-bit-first as 0x04c11db7: one is the other bit-reversed
- [IANA, Transmission Control Protocol (TCP) Parameters, TCP Header Flags (registry updated 2026-10-22)](https://www.iana.org/assignments/tcp-parameters/tcp-parameters.xml) - AE bit 7, CWR bit 8, ECE 9, URG 10, ACK 11, PSH 12, RST 13, SYN 14, FIN 15
- [The Linux kernel source, include/net/tcp.h (torvalds/linux master): TCPHDR_* flags](https://raw.githubusercontent.com/torvalds/linux/master/include/net/tcp.h) - TCPHDR_FIN BIT(0) to TCPHDR_CWR BIT(7), TCPHDR_AE BIT(8)
- [RFC 9293, Transmission Control Protocol (TCP), August 2022 (STD 7): section 3.1, header format](https://www.rfc-editor.org/rfc/rfc9293.txt) - the control bits CWR, ECE, URG, ACK, PSH, RST, SYN and FIN in that order after the Data Offset and the reserved bits
- [RFC 2474, Definition of the Differentiated Services Field (DS Field) in the IPv4 and IPv6 Headers, December 1998 (Proposed Standard, updated by RFC 3168, 3260 and 8436): section 3](https://www.rfc-editor.org/rfc/rfc2474.txt) - the DSCP in bits 0 to 5 of the DS field, "the left-most bit signifies bit 0"
- [RFC 3168, The Addition of Explicit Congestion Notification (ECN) to IP, September 2001 (Proposed Standard): section 5](https://www.rfc-editor.org/rfc/rfc3168.txt) - "Bits 6 and 7 in the IPv4 TOS octet are designated as the ECN field"; the codepoints Not-ECT, ECT(1), ECT(0) and CE
- [The Linux kernel source, include/linux/if_vlan.h (torvalds/linux master): VLAN_PRIO_MASK, VLAN_CFI_MASK and VLAN_VID_MASK](https://raw.githubusercontent.com/torvalds/linux/master/include/linux/if_vlan.h) - 0xe000 with shift 13 for the priority, 0x1000 "Canonical Format Indicator / Drop Eligible Indicator", 0x0fff for the VLAN ID
- [RFC 3986, Uniform Resource Identifier (URI): Generic Syntax, January 2005 (STD 66): section 3.5](https://www.rfc-editor.org/rfc/rfc3986.txt) - the fragment is "separated from the rest of the URI prior to a dereference": a Share results link's values are not sent to the server
- [RFC Editor, RFC index (XML): the current status of every RFC cited](https://www.rfc-editor.org/rfc-index.xml) - RFC 791, 1035, 1662, 3417, 9293 and 3986 are Internet Standards; RFC 9542 and 6895 are BCPs; RFC 2474 and 3168 Proposed Standards; RFC 2469 Informational; none obsoleted

## Related reading

- [Badges and cards: RFID, NFC, the Proxmark and MIFARE](https://ronutz.com/en/learn/badges-and-cards-rfid-nfc-the-proxmark-and-mifare.md): An office badge, a transit card and a car key's transponder are radio devices with no battery that answer whatever reader powers them. The cheap ones at 125 kHz answer with a bare number anyone can copy; the 13.56 MHz MIFARE Classic, the most deployed card of its kind, hid a weak cipher until researchers in Berlin and Nijmegen took it apart in 2007 and 2008, and its manufacturer lost a court bid to stop the publication. After reading, you can explain how passive cards are powered and which standards govern them, decode a 26-bit badge number, follow the Proxmark from Jonathan Westhues's bench to the Proxmark 5, read a MIFARE Classic authentication trace, date every major break from the car-key transponders of 2005 to the 2024 backdoor in compatible chips, see where Brazil's Bilhete Único and Brazilian law fit, and name the migrations and reader settings that actually defend a door.
- [Big-endian and little-endian: byte order explained](https://ronutz.com/en/learn/big-endian-and-little-endian.md): A number wider than one byte has to be laid out over several addresses, and machines disagree about which end goes first. What big-endian and little-endian mean, one 32-bit value byte by byte in both orders, where Danny Cohen found the names in 1980, why byte order is not bit order, network byte order in the RFCs and in POSIX, which processors are little-endian, big-endian or both, the instructions that swap bytes, the file formats and protocols that fix an order, what each order really costs, the bugs it causes, how to tell what a machine is, and three cases on this site: the LACP hash, the BIG-IP cookie and UTF-16.
- [Hiding in images: LSB, JPEG and adaptive steganography](https://ronutz.com/en/learn/hiding-in-images-lsb-jpeg-and-adaptive-steganography.md): Digital images became the favourite carrier for hidden messages because every pixel and every compressed coefficient is a number with a little noise in it. This part follows the techniques from the first least-significant-bit tools of the 1990s through palette tricks, JPEG coefficient embedding (JSteg, OutGuess, F5 and matrix embedding) to the content-adaptive schemes of the 2010s (HUGO, WOW, UNIWARD) and the syndrome-trellis codes that drive them. After reading, you can embed one byte into eight pixels by hand, explain why JPEG hiding works on quantized DCT coefficients, compute how matrix embedding saves changes, read a payload in bits per pixel critically, and name the open tools from their own documentation.
- [Least and most significant bit: bit numbering and bit order](https://ronutz.com/en/learn/least-and-most-significant-bit.md): Every bit of a binary number has a weight, and the least significant bit is worth 1 while the most significant bit is worth the most and, in two's complement, carries the sign. What significance means, why LSB and MSB sometimes mean bytes, the three ways documents number bits (LSB 0, MSB 0 and 1-based) and the same field read all three ways, the order bits travel on Ethernet, a UART, PPP, I2C and SPI, canonical and bit-reversed MAC addresses, masks, shifts, parity and reflected CRCs, the bugs a wrong order causes, and three cases on this site: Huawei's PortState printed bit 1 first, the I/G and U/L bits of a MAC address, and the DNS header flags.
- [Link aggregation and LACP: several links that act as one, and the protocol that keeps them honest](https://ronutz.com/en/learn/link-aggregation-and-lacp.md): A link aggregation group bundles parallel Ethernet links into one logical link for more bandwidth and for resilience. Where the standard came from (802.3ad, then 802.1AX), how LACP lets both ends agree before a single frame is sent, the fast and slow timers, why static bundles are risky, why one flow never goes faster than one member link, the rules members must follow, multi-chassis bundles, and the Linux bonding modes.
- [The DNS Header: Opcode, Status, and Flags](https://ronutz.com/en/learn/dns-message-header-and-flags.md): Every DNS message opens with the same 12-byte header: a 16-bit ID, a flags word that holds the opcode, seven named flags, a reserved bit and the response code, and four section counts, which dig prints as its header and flags lines. After reading, you can decode a header from its hexadecimal bytes, say what each flag, opcode and status tells a diagnosis, recognize a truncated answer and test the TCP retry it needs, and explain why the ID and the source port must be unpredictable.
- [The Ethernet frame, field by field: preamble to FCS, the 802.1Q tag, and the sizes that matter](https://ronutz.com/en/learn/the-ethernet-frame-field-by-field.md): Every Ethernet frame is the same short sequence of fields: a preamble to wake the receiver, two addresses, one field that is either a length or a type, the payload, and a checksum. What each field holds, why the minimum is 64 octets and the maximum 1518, where the 802.1Q tag goes and what it carries, and why jumbo frames are not in the standard.
- [The hardware hacker's bench: Bus Pirate, JTAG, UART and ChipWhisperer](https://ronutz.com/en/learn/the-hardware-hackers-bench-bus-pirate-jtag-uart-and-chipwhisperer.md): Every circuit board is built with doors for its makers: a serial console that prints the boot log, a Joint Test Action Group (JTAG) port defined by IEEE 1149.1 for testing and debugging, Arm's two-wire Serial Wire Debug, and the SPI and I2C buses where firmware and secrets are stored. This part explains what each interface is for and how it works, the tools that speak to them (the Bus Pirate, the JTAGulator, Saleae and sigrok logic analysers, Great Scott Gadgets' GreatFET, the Tigard, the Shikra and NewAE's ChipWhisperer), what power analysis and fault injection are, and how manufacturers lock the doors. After reading, you can read a UART settings line and a debug-header pin-out, decode a JTAG IDCODE down to the manufacturer, explain side-channel and glitch attacks in principle, retell four documented cases from their sources, and say which controls (readout protection, debug lockout, secure boot, tamper response) a product-security team should test.
- [What Is an OUI, and How MAC Addresses Are Assigned](https://ronutz.com/en/learn/what-is-an-oui.md): How a MAC address is structured, what the OUI (the manufacturer prefix) is and who hands it out, the difference between universally and locally administered addresses, and why a randomized Wi-Fi MAC has no vendor at all.
