What are CLD and STD for in x86 assembly language? What does DF do?

后端 未结 5 1391
走了就别回头了
走了就别回头了 2021-01-30 21:55

well, I know that CLD clears direction flag and STD sets direction flag. but what\'s the point in setting and clearing direction flag?

5条回答
  •  时光说笑
    2021-01-30 22:36

    CLD CLears the Direction flag, data goes onwards. STD SeTs the Direction flag, data goes backwards.

提交回复
热议问题