asm implementation of emit/emit?/key/key? for speed and non-interruptibility