Fixed SP_MOV and SP_ADD if d flag is equal to 1