simple assembler for modelling vm