simple simulator
Move program so memory test won't overwrite it, halt on failure

Move program to 0x100, start memory test at 0x200
And R1 with 0xffff, otherwise it will write 16 bits of R1 and compare with original R1, failing at R1=0x10000
On failure, jump to a little block that sets R0=BADBAD and halts
Use an object for opcode datasize, name, and func.  Add sim to Makefile