Blogs / Personal blogs

blog.jeff.over.bz

blog.jeff.over.bz

Popular posts
1
Total points
185
HN comments
33
Rank
#13,525 personal

Visit blog.jeff.over.bz → On Hacker News May 2019 – May 2019

Systems & Performance 1Software Engineering 1

1

An x86 Assembler in 256 LOC (2017)

For the first “real” post in this blog, we’ll build an x86 assembler in less than 256 lines of C code. Obviously, it won’t implement every x86 instruction, but it will implement a surprisingly useful subset: data movement, control flow, integer arithmetic, bitwise operations, and function calls. We won’t be able to…