Assembly

The Zilog Z80 has turned 50

The Zilog Z80 has turned 50

As of writing, the Zilog Z80 processor was officially launched 50 years ago, in July of 1976, less than 4 years after the last human had walked on the moon, decades closer to WWII than to the present day, roughly at a half way point between the Kennedy assassination and the...

Lobsters Lobsters · C/C++ · Assembly ·
0
Playing with zig and assembly

Playing with zig and assembly

assembly-zig I spent some time learning assembly and took the opportunity to do so while also trying to interact with Zig code from assembly and vice-versa. I learned a lot about calling conventions, X86 assembly, Zig – at the time 0.16.0 wasn’t tagged yet so I also got to experiment with the...

Ziggit Blog Ziggit Blog · Assembly · Rust ·
0
Can your AI rewrite your code in assembly?

Can your AI rewrite your code in assembly?

Suppose you have several strings and you want to count the number of instances of the character ! in your strings. In C++, you might solve the problem as follows if you are an old-school programmer. size_t c = 0; for (const auto &str : strings) { c += std::count(str.begin(), str.end(), '!'); } Yo...

Daniel Lemire Daniel Lemire · Assembly · C/C++ ·
0