News for hackers. Stuff that matters.
Re:Compiling to Assembly from Scratch [free to read online] by eterps on Monday September 23, 2024 @04:24AM (#41623699)
Also, running machine code directly can be done like this:

https://github.com/eterps/loader/blob/master/syscall.nim

Re:Compiling to Assembly from Scratch [free to read online] by alok-g on Monday September 23, 2024 @04:34AM (#41623774)
This is cool! This is how I used to do also by embedding hand-written machine code within a BASIC program and calling it to run natively.
Re:Compiling to Assembly from Scratch [free to read online] by eterps on Monday September 23, 2024 @07:18AM (#41624816)
> This is how I used to do also by embedding hand-written machine code within a BASIC program and calling it to run natively

Me too; that's also the reason why I wanted that possibility back.