More bug fixes

fixed bugs with IO(_LY) in step_lcd function and length of two opcodes.