x86-64 Machine-Level Program Representation: Registers, Instructions, and Control Flow
x86-64 Register Set and Usage
The x86-64 architecture includes 16 general-purpose registers that store 64-bit values. While these register are general-purpose, they follow conventional usage patterns. The registers r8 through r15 were added in the 80386 architecture extension.
%rax: Return value register
%rbx: Callee-saved register
%rcx: 4th f ...
Posted on Sun, 24 May 2026 18:01:07 +0000 by Bilbozilla
Core C/C++ Concepts and Algorithms for Embedded Systems Engineering
Preprocessor Stringification and Concatenation
The # dircetive transforms macro arguments into string literals during compilation. It must precede a parameter name within a parameterized macro definition.
#define DEBUG_IDENTIFIER(var) std::printf("[Check] %s evaluated\n", #var)
DEBUG_IDENTIFIER(sensor_temp);
The ## directive merges ...
Posted on Sun, 10 May 2026 21:30:23 +0000 by ciciep