Re: referring to segment offsets in read address mode



On Fri, 29 Feb 2008 20:25:38 +0000, Frank Kotler wrote:

Brian Phillips wrote:
I had tucked this question into a stale thread at alt.lang.asm,

Stale? It was yesterday. You young people are so impatient! :)


Best,
Frank

I thought it was buried. In a.l.a, I usually see responses to my
questions before I post them. :) That's a compliment!

Young people??? Frank, I'll be 65 years old (in 25 years).

I'm going to have to print your answer and pour a cup of coffee. Thanks
for elaborating. At first reading, I'm still not sure why one label
declared in masm's uninitialized data gets translated by the assembler as
an offset from @data, while another declared label in the same BSS
section gets translated as an offset from _bss. Shouldn't they both be
translated as offsets from _bss? (or assembled to processor opcode
instructions and data, or "pcode" like you old-timers call it??).

It's very confusing to me when I put some labels in the bss section and
see that the disassembly of the code references to those labels (when
debugging) shows an offset from @data for one label, and an offset from
_bss for another.


--
Regards,
Pop Tart

.



Relevant Pages

  • Re: To C.
    ... to the member's label inside the structure ... relative offset of the data from the start of the structure... ... As NASM or any other "real assembler", as you like to put it, ... whatever strange syntax is accepted... ...
    (alt.lang.asm)
  • Re: how do i update a chart area automatically
    ... OFFSET(range, offset rows, offset columns, resize rows, resize columns) ... Jon Peltier, Microsoft Excel MVP ... the rows available for charting minus the row with the label. ... I have many of these charts on a dash board and do not want ...
    (microsoft.public.excel.charting)
  • Re: Removal of GEOM_BSD, GEOM_MBR, GEOM_PC98 and GEOM_SUNLABEL
    ... GEOM_LABEL: Label ufsid/46387cd616292ca8 removed. ... Mediasize: 9568387584 ... Sectorsize: 512 ... offset: 32256 ...
    (freebsd-current)
  • Re: How do I place a merge data field in a specific location on a labe
    ... "Microsoft Word ignores the \y switch if you specify a location outside the ... spreadsheet on the bottom line of the label, ... ADVANCE \y xx} option, where xx is the offset to the last line in points, ...
    (microsoft.public.word.mailmerge.fields)
  • Re: Platte klonen
    ... den BSD-Label im Ziel mit überschreiben. ... Die Partitionen leg ich immer brav mit sysinstall an, da sollte der Offset ja dann 63sein. ... falls der Label von ad1s1 anders ist als der von ad0s1), ...
    (de.comp.os.unix.bsd)