leaå½ä»¤ã¯ãLoad Effective Addresså½ä»¤ã¨ãããã®ã§ãã¡ã¢ãªä¸ã®å ´æã®ã¢ãã¬ã¹å¤ãã¬ã¸ã¹ã¿ã«æ ¼ç´ãããã®ããã®ã¢ãã¬ã¹ã¸ã®ãã¤ããä½ã£ã¦ãããããªå
·åããªã®ã§ã leal 4(%esp), %eax ã¨ãã£ããããESPã®å¤ã«4ã足ããã¡ã¢ãªä½ç½®ãã®ã¢ãã¬ã¹ããEAXã«æ ¼ç´ããã¨ããæå³ã«ãªãã 端çã«è¨ãã¨ã EAX = ESP + 4 ã£ã¦ãã¨ã ãã®å½ä»¤ãè¡ãã ããªããäºå½ä»¤ä½¿ã£ã¦ movl %esp, %eax addl $4, %eax ã¨ãã¦ãåãçµæãå¾ãããããªãã®ã ãã©ãã§ã¯ä½ã®ããã«LEAå½ä»¤ãããã®ãã å®ã¯ãLEAã¯è¨ç®ãç®çãããªãã¦ã¢ãã¬ã¹ãå¾ãããã®å½ä»¤ãªã®ã§ãé常ã®è¨ç®å½ä»¤ã¨éã£ã¦ãã©ã°ã¬ã¸ã¹ã¿ã«å½±é¿ãä¸ããªãããã©ã°ã«å½±é¿ãä¸ããªãã®ã§ãå復ããå½ä»¤ã«é©ãã¦ããã*1 ã¾ã足ãç®ãä¸å½ä»¤ã§åºæ¥ã¦ãã¾ãã®ã§ããã®è¾ºã§ã使ããããã¨ããã
{{#tags}}- {{label}}
{{/tags}}