[ nasm-Bugs-2496848 ] No warning for out of bounds displacement

View: New views
1 Messages — Rating Filter:   Alert me  

[ nasm-Bugs-2496848 ] No warning for out of bounds displacement

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bugs item #2496848, was opened at 2009-01-10 04:13
Message generated for change (Comment added) made by cyrillos
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=106208&aid=2496848&group_id=6208

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Göran Weinholt (weinholt)
Assigned to: Nobody/Anonymous (nobody)
Summary: No warning for out of bounds displacement

Initial Comment:
$ cat seaddr.asm
        bits 64
        mov dword [0xfee00320],32
$ nasm seaddr.asm
$ ndisasm -b 64 seaddr
00000000  C704252003E0FE20  mov dword [0xfffffffffee00320],0x20
         -000000

The disassembly is correct and the displacement is actually sign-extended, so the instruction does not reference the same address as in the assembly source code.

Tested with nasm 2.06rc2-20090105.

----------------------------------------------------------------------

Comment By: Cyrill Gorcunov (cyrillos)
Date: 2009-10-25 01:07

Message:
Implemented in commit 9ccabd2922788ee96be1c808050aefaa79c9490f.
Will be in nasm-2.08 (or you may fetch a snapshot from nasm.us)

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=106208&aid=2496848&group_id=6208

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Nasm-bugs mailing list
Nasm-bugs@...
https://lists.sourceforge.net/lists/listinfo/nasm-bugs