get_sreg
Get value of segment register at the specified address
ea - linear address
reg - name of segment register
returns: the value of the segment register. The segment registers in
a 32-bit program usually contain selectors, so to get paragraph pointed by
the segment register you need to call sel2para() function.
long get_sreg(long ea, string reg);
Last updated
Was this helpful?