Day 32/100 — How do you turn "1234" into 1234 without a lib? Building "itoa" in x86-64 Asm → Div by 10 → Extr the rem → Conv the digit to ASCII → Store dig backwards Int → bytes → txt Even "printf" has to solve prob like this under the hood #Assembly #ReverseEngineering
ch4ndr4@s0h0m_ch_
Day 31/100 — "printf" starts with a parser Building MyPrintf in x86-64 Asm Step 1: read the format string byte by byte - Normal byte? Print it - "\n"? Handle the escape - "%"? Start parsing a format specifier No magic behind "printf"—just bytes, branches, and logic #Assembly
- 0 réponses
- 1 partages
- 1 j'aime
- 131 vues


