Comment by WalterBright
6 hours ago
The easy way to write assembler for a machine with no compilers is to write the code in C, get the algorithm right, then translate it to asm.
6 hours ago
The easy way to write assembler for a machine with no compilers is to write the code in C, get the algorithm right, then translate it to asm.
I agree. Not sure whether that was the case for MS-DOS but I’m sure it was useful.
Gotta find some time to read some of the code to chill.
Or any other compiled language for that matter. :)
It is, but some tools like Turbo C did provide asm generating switch (-S AFAIK) directly you to use and saved you from using debug.com or any better disassembler.
As did many other compiled languages including those predating C, people should stop putting it on pedestal.
Fortran 77 manual for UNIX, https://www.unix.com/man_page/v7/1/f77
You can find plenty of other examples, when doing digital archaeology.
1 reply →