cat queens.tig.s runtime.s >spimqueens.s xspim &The first line concatenates the assembly language program with an assembly language version of the runtime library, and puts the combination in spimqueens.s. The second line runs xspim. Now you can use the load button in xspim to load in spimqueens.s, and can then run it.
Unfortunately, all is not quite well (yet). The runtime.s file that Appel provided is buggy, and I have not yet debugged all of it. I've debugged enough for the queens.tig program, but not necessarily for others. I will let you know if/when I find the time to debug the rest of it. (Volunteers are also welcome.)