'[ebp-8]' is the memory address of the end of the directory, and it's used here to check if the loop needs to stop yet.
lp1: mov eax, dword ptr [ebp-08] cmp ebx, eax jnl lp1s mov edx, ebx add ebx, 33 mov eax, dword ptr [ebp+12] call strcmp cmp eax, 0 jz lp1s mov ebx, edx xor eax, eax xor edx, edx mov al, byte ptr [ebx] add ebx, eax jmp lp1 lp1s:
And the other thing that I'm kind of confused about is: does there have to be an even number of directory records per sector? (If yes, then what's used for padding, until the next sector?)


Sign In
Create Account


Back to top









