SimplifyC++ Articles

Deep technical articles, organized for faster reading

Browse focused C and Modern C++ articles covering the language, standard libraries, compilers, build tools, performance, concurrency, and practical software engineering.

Visible articles 207
Total reads 34,681
Per page 9
Reset
Performance & Systems Aug 7, 2026

Architecture of an Assembler Data Structures in Assembler Design - Relocation Table

Architecture of an Assembler: Data Structures in Assembler Design -> Relocation TableThe relocation table is a fundamental data structure in assembler and linker design, responsible for recording references to symbols or addresses that cannot be resolved at assembly time. These relocations are deferred until the…

53 reads 0 today
Read article
Performance & Systems Aug 7, 2026

Architecture of an Assembler Data Structures in Assembler Design - Symbol Table

Architecture of an Assembler: Data Structures in Assembler Design -> Symbol TableThe symbol table is one of the core data structures in any assembler. It serves as a central repository for all named identifiers encountered during the assembly process, including labels, variables, macros, constants, and external…

16 reads 0 today
Read article
Performance & Systems Aug 7, 2026

Architecture of an Assembler Lexical analysis and tokenizing

Architecture of an Assembler: Lexical analysis and tokenizingAfter preprocessing completes macro expansion, includes, and directive handling, the assembler proceeds to lexical analysis, also known as tokenizing. This phase is essential to convert the raw text of the assembly source code into structured elements called…

17 reads 0 today
Read article
Performance & Systems Aug 7, 2026

Architecture of an Assembler Syntax Analysis Grammar and Parsing

Architecture of an Assembler: Syntax Analysis: Grammar and ParsingFollowing the lexical analysis phase, the assembler enters the syntax analysis or parsing stage. This phase is responsible for interpreting the token stream produced by lexical analysis, checking it against the formal grammar of the assembly language,…

23 reads 0 today
Read article
Performance & Systems Aug 7, 2026

Architecture of an Assembler Assembler Phases Explained

Architecture of an Assembler: Assembler Phases Explained - Preprocessing: Macro Expansion, Includes, Directives1. Overview of Preprocessing in an AssemblerPreprocessing is the initial phase in the assembly process where the assembler prepares the source code for subsequent parsing and translation. This phase handles…

40 reads 0 today
Read article
Performance & Systems Aug 7, 2026

x86-64 Machine Code Encoding Little-endian Conversion Walkthroughs

x86-64 Machine Code Encoding: Little-endian Conversion WalkthroughsThe x86-64 architecture uses little-endian byte order for representing multi-byte values such as immediate constants, displacement fields, and memory contents. Understanding how to correctly convert multi-byte numerical values into little-endian format…

35 reads 0 today
Read article
Performance & Systems Aug 7, 2026

Drawing Graphics with CPU Only on Windows Using GAS Assembly (Intel Syntax)

Drawing Graphics with CPU Only on Windows Using GAS Assembly (Intel Syntax) This example shows how to create a simple Windows application in pure x86 Intel syntax assembly, which:Creates a windowAllocates a framebuffer in memoryDraws a red square pixel-by-pixel into the bufferDisplays it on the window using…

16 reads 0 today
Read article
Performance & Systems Aug 7, 2026

x86-64 Machine Code Encoding Real encoding examples with byte breakdowns

x86-64 Machine Code Encoding: Real encoding examples with byte breakdownsThis section presents practical, real-world examples of x86-64 machine code instruction encodings with detailed byte-level breakdowns. Understanding how instructions translate into machine code byte sequences is essential when designing an…

42 reads 0 today
Read article
Performance & Systems Aug 7, 2026

x86-64 Machine Code Encoding Encoding Examples

x86-64 Machine Code Encoding: Encoding Examples - MOV, ADD, JMP, CALL.IntroductionThis section provides concrete examples of machine code encoding for several fundamental x86-64 instructions: MOV, ADD, JMP, and CALL. These instructions are central to virtually every program and understanding their encoding is critical…

137 reads 0 today
Read article
Actual visitors 140,681
Visitors today 314
Total page views 1,816,750
Page views today 429
Book downloads 33,720