asm: fix bug and extend syntax
sim: add instructions