Fixed memory issue when writing. JM, JNZ, JZ. flags.