4 ms·
Well, yes. I should have been more clear that it's a "bring your own assembler" kind of deal. You have put the machine code in hexadecimal in the final .W file
by networked 14y ago
Well, yes. I should have been more clear that it's a "bring your own assembler" kind of deal. You have put the machine code in hexadecimal in the final .W file before it's compiled. Back then I used a free early version of Hiew [1] to assemble the subroutine code for my project but if I did it now I'd either make some kind of a preprocessor to convert in-line assembly to machine code before the source is fed to W.COM (the compiler's executable) or modify the compiler itself to call an external assembler. You can do the latter since the compiler's source code [2] is licensed under the GNU GPL.
[1] http://www.hiew.ru/ http://www.hiew.ru/
[2] ftp://gateway.vttoth.com/pub/w.zip