Added ram write
Fix opcode 6