Add some RES opcode implementation