What exactly do you mean by this? Direct object code emission?
> the emulator is easier than the compiler, by a lot
Yeah, definite +1 there. For most simple machines it really is not much more than a loop with a switch on the opcode where the cases update the CPU state.