Skip to content

paulocuambe/assembly-zig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playing with assembly and Zig

This project explores programming in assembly. As a side quest of mine it combines calling zig code from assembly and assembly code from Zig.

I had so much fun and learned a lot about linking, compilers, zig, assembly, system calls, calling conventions (both windows x86 and linux x86), I mean, it really fullfiled my heart. I had the time of my life.

Setup

Running the project

Each exploration has a .asm, .zig and .sh file. To execute a particular example run the bash script ./[script-name].sh.

There are many explorations, but the ones I had the most fun with were those I read from stdin and wrote to stdout using syscalls in assembly or zig and invoking the code from the other side. Really fun and very bug prone.

About

Exploring zig and assembly intersection.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages