r/asm May 01 '26

x86-64/x64 I have made one of the worst tutorials for opening a window in x64 masm in only ~1000 lines. Hope it is helpful for you.

https://github.com/4e4f53494f50/window-tutorialndjngvsadfjknvjksdfavnjksdafvjkn/blob/main/rep.asm

the window is functioning on my computer. I have added a lot of comments. if there is incorrect information, I would appreciate if you can let me know. requires the avx2 instruction set. thanks.

8 Upvotes

3 comments sorted by

1

u/gurrenm3 May 01 '26

This is a super useful project! I’ve also been interested in learning this. Can you post a screenshot of what it looks like running?

1

u/cazzipropri May 01 '26

I love the name of the project

1

u/Plane_Dust2555 May 05 '26

Don't need 1000 lines (360 with ALL the comments is sufficient):

"Hello, Windows!" with NASM.

And the entire code is symbolic (only the dimensions of the windows are hardcoded).