Implemented execute function for Format 3 opcodes.