assembly - Near and Far JMPs -
assembly - Near and Far JMPs -
i doing linux assembly , understand has flat memory model. confused near , far jmps.
near in same segment while far segment. understand there no segments in linux virtual memory? how know if program's code laid out in multiple segments?
it hasn't been segments long time now. right term in protected mode x86 selector.
having said that, difference between near jump , far 1 former maintains same code selector cs while latter (usually) changes it.
in flat memory model, former case how it's done.
you could have operating scheme flat memory model served multiple selectors can't see useful utilize case it, , it's not way linux works, @ to the lowest degree on x86.
assembly x86 nasm jmp
Comments
Post a Comment