Originally Posted by Mrs Beanbag
So i'll probably do it in Asm instead, but that means creating an entire environment for it.
Do it in C. Writing your main software in ASM is fine, but C is great for utilities such as this. Simply use SASC 6.58 and write it to be OS friendly. It doesn't produce the best code possible, but it's easy, compiles reasonably fast and it's proper C89. Saves lots of time, and you don't have to wrestle with Amos' deficiencies.