I'm working on a simple tool for my own optimization purposes and while I was working on this tool, I noticed something I don't understand. Now, I think this might be some alignment or optimization method I don't know, however I figured I'd ask the question here;
I have a structure named derp within a procedure, and I'm accessing index 100 like so:
Code: Select all
single = derp\chars[100]
Code: Select all
; single = derp\chars[100]
MOV dword [CLN],60 ; pbcompiler -l option
LEA rbp,[rsp+48]
PUSH rbp
POP rbp
MOVSX rax,byte [rbp+100]
PUSH rax
POP rax
MOV byte [v_single],al