Align Number to Multiple Aligning an integer to its closest muplitple of number m is easy. But if m is a power of 2, using bitwise operations can help a lot. 2023-03-12 Algorithms & Data Structures #Optimization #Memory #Alignment #Bitwise Operation #xv6
Read and Write by Polling with UART Exhilarating 'Hello world'. 2023-02-28 Operating System & Architecture #Register #C #xv6 #QEMU #Emulation #UART #Baud Rate #Polling #Peripheral
RISC-V Machine Boot Code Basic boot process of a RISC-V hardware, with sample bootstrap assembly code explained. 2023-02-23 Operating System & Architecture #RISC-V #Register #C #Memory #xv6 #Bootstrap #Assembly #Stack #QEMU #Emulation
Test Malloc Failure with Macros in C To improve robustness 2022-12-07 Programming Language #C #Memory #Debug #Dynamic Memory Allocation #Robustness #Testing #C Macro #C Preprocessor
Advanced Concatenate with Sqlite3 Do advanced CONCAT by powerful SQL 2022-10-27 Database #SQL #SQLite
Binary Tree in Python Binary Tree Examples in LeetCode 2022-08-30 Algorithms & Data Structures #Tree #Binary Tree #Python #LeetCode