It was thus said that the Great Sellam Abraham via cctalk once stated:
Chris,
Apparently, ChatGPT 3 was trained on a large codebase, and in the reviews
I've watched, as well as in my own experience, it is amazingly astute at
generating (usually) working code in just about any language you can think
of, including assembly languages of various flavors.
And some of that codebase included MS-DOS itself:
https://github.com/microsoft/MS-DOS
-spc (It's only versions up to 2.1 though)