News for hackers. Stuff that matters.
Re:BATAS: 8086 assembler written in MSDOS batch by userbinator on Friday December 07, 2018 @07:45PM (#18633048)
Appears to be based on a very similar design to https://news.ycombinator.com/item?id=7882066 , except that batch files are far more limited than bash.

Also, may I suggest a small optimisation to APPFB.COM : there is no need for push cs/pop ds at the beginning, because in a .COM format executable all the segment registers are initially set to the same value. You can eliminate two unnecessary bytes ;-)

Re:BATAS: 8086 assembler written in MSDOS batch by sqldba on Saturday December 08, 2018 @04:36AM (#18634595)
Sorry I think you’re very slightly wrong.

There was a bug in either some revision of MSDOS or a compatible version that needed it. That’s why it’s common (though agreed technically unnecessary as it’s unlikely to ever be run on those...)

Re:BATAS: 8086 assembler written in MSDOS batch by zygotic12 on Friday December 07, 2018 @07:52PM (#18633084)
Both of you are mad as badgers. I'd love to buy you a beer.