You should be able to write assembler progs in the XP
dos window, if you are sticking to the 8086 instruction
set, and don't attempt any direct disk access.

examples