python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Memory access only possible with stack registers after switching to 32-bit compat mode, in an x86-64 Linux process that started as 64-bit
After trying to switch an x86-64 linux process to 32 bit compatibility mode with an lret, we can't access memory except when addressing with ESP or EBP.
Does anyone have an idea what is going on here?...
rgba
Votes: 0
Answers: 0
MASM string instructions - segment register override on preceding LEA in real mode?
For 8086 it is possible to override the segment of the source index SI in order to use ES instead of DS. In a book (the old Scanlon) I found this MASM code:
LEA SI,ES:HERE
LEA DI,ES:THERE
MOVSB
As LE...
Claus
Votes: 0
Answers: 2
Calculating size in paragraphs from an address, as a NASM constant expression
I am converting an assembly language program from A86 assembler to the NASM assembler.
I have most of the program converted except this line
mov bx, (stack_end / 10h) + 1
The bss section is defined a...
Tyson
Votes: 0
Answers: 0