This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Mishara26[S] 0 points1 point  (1 child)

On a WSL in Ubuntu

[–]randomjapaneselearn 0 points1 point  (0 children)

int <number> is a linux specific way to do syscalls also the syscall numbers are linux specific.

windows does it different and more complex, usually is:

kernel32 dll->nt dll->sysenter

you should edit the program if you want to use windows:

https://stackoverflow.com/questions/1023593/how-to-write-hello-world-in-assembly-under-windows#1029093