add read and write tests
fix bug in assembler script
fix bug in conditional jumps