[Issue 2076] asm: offset has wrong docs and error without line number

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 24 06:06:35 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=2076


clugdbug at yahoo.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|offset doesn't work in asm  |asm: offset has wrong docs
                   |                            |and error without line
                   |                            |number




------- Comment #1 from clugdbug at yahoo.com.au  2008-06-24 08:06 -------
The inability to get the address of a label is the same bug as 1829.
Changing this to be a documentation bug:
* spec mentions offset, should be offsetof.
* spec mentions seg, which doesn't seem to work (and has no purpose in any
32-bit OS which I know of)
* spec should state that $ only works in jump instructions.

Also has an error without line number. (Note that it would also be possible to
remove the 'offset deprecated' message entirely. It's been years since it was
valid.)


-- 



More information about the Digitalmars-d-bugs mailing list