-
MOV와 LEA 어셈블리어 차이 그리고 []의 의미 (RAX와 [RAX]의 차이)코딩Coding/Rust💕Assembly 2024. 2. 20. 12:04728x90
https://juntheworld.tistory.com/m/119
MOV와 LEA 어셈블리어 차이 그리고 []의 의미 (RAX와 [RAX]의 차이)
결론부터 이야기하면 mov는 값을 옮기는 어셈블리어 lea는 주소를 옮기는 어셈블리어 rax는 rax에 담긴 값 [rax]는 rax에 담긴 값을 주소로 보겠다. 라는 뜻이다. 아래 표를 완벽하게 이해하면 최고다.
juntheworld.tistory.com
반응형'코딩Coding > Rust💕Assembly' 카테고리의 다른 글
FAAS in Go with WASM, WASI and Rust (0) 2023.05.07 ARM Assembly❤️computers are horrible at division (a painful discovery) (0) 2022.12.04 Rust to assembly: Arrays, Tuples, Box, and Option handling (0) 2022.12.02