flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Tomasz Grysztar 10 Oct 2025, 20:09
You can find an example in fasmg source:
Code: start: mov rcx,[rsp] mov [argc],rcx lea rbx,[rsp+8] mov [argv],rbx lea rsi,[rsp+8+rcx*8+8] mov [env],rsi |
|||
![]() |
|
n0tmuch 10 Oct 2025, 20:31
That explains it! The simplified code for anyone else finding this:
Code: mov rbp, [rsp] lea rbx, [rsp+8+rbp*8+8] mov [env], rbx ![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.