search for: got_address

Displaying 1 result from an estimated 1 matches for "got_address".

Did you mean: get_address
2007 Aug 28
2
memdisk patch
...0000 -0500 +++ memdisk.asm 2007-08-20 17:31:17.000000000 -0500 @@ -462,10 +462,10 @@ cmp dword [es:si+4],-1 je .linear_address - movzx esi,word [es:si+4] ; Offset + movzx ebx,word [es:si+4] ; Offset movzx edi,word [es:si+6] ; Segment shl edi,4 - add esi,edi + add ebx,edi jmp .got_address @@ -476,23 +476,24 @@ cmp dword [es:si+20],0 ; > 4 GB addresses not supported jne .overrun - mov esi,[es:si+16] + mov ebx,[es:si+16] .got_address: cmp dword [es:si+12],0 ; LBA too large? jne .overrun movzx ecx, word [es:si+2] ; Sectors to transfer - mov edi,[es:si+8]...