Tagged articles
3 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Nov 16, 2025 · Fundamentals

Convert Serial Bytes to Float in Embedded C with Unions and Endianness

This article explains how to reconstruct a 32‑bit floating‑point value from four serial bytes in embedded C by using a union or struct overlay, demonstrates the code, shows the resulting little‑endian byte order, and provides a simple function to detect system endianness.

CSerial CommunicationUNION
0 likes · 5 min read
Convert Serial Bytes to Float in Embedded C with Unions and Endianness
Top Architect
Top Architect
Sep 27, 2022 · Fundamentals

Fundamentals of Computer Architecture: CPU, Memory Hierarchy, Caches, and Compilation

This article explains the basic principles of computer architecture, covering CPU operation, memory hierarchy, cache levels, instruction sets, compilation, endianness, and related concepts such as simulators and operating system interactions, illustrating how simple instructions enable complex computations.

CPUComputer ArchitectureInstruction Set
0 likes · 27 min read
Fundamentals of Computer Architecture: CPU, Memory Hierarchy, Caches, and Compilation