#25 ✓resolved
Peter Johnson

mov rax,imm64 : incorrect output

Reported by Peter Johnson | June 25th, 2011 @ 07:48 PM | in 0.4.0 (closed)

Originally posted on Trac by vclaudepierre@tiscali.fr
Original Trac Ticket

  Description

  @@@

mov rax,'12345678' gives you a warning (does not fit in 64 bit field).
mov rax,'1234567' does not.

The binary output is incorrect : 48 B8 00 + 7 bytes for imm64, instead of 48 B8
+ 8 bytes for imm64


  
h3. Trac Attachments

h3. Trac Comments
comment:1
    
                  
                  Changed 7 years ago by peter@tortall.net
  Fixed in libyasm/intnum.c r1.36.  Only >32 bit character constants were affected

by this bug.

Thanks for the bug report!

  comment:1

              Changed 7 years ago by peter@tortall.net

  Status
    changed from new to resolved

  Resolution
    set to fixed

  Fixed in libyasm/intnum.c r1.36.  Only >32 bit character constants were affected

by this bug.

Thanks for the bug report!

  Status
    changed from new to resolved

  Resolution
    set to fixed

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Yasm Modular Assembler Project

Shared Ticket Bins

People watching this ticket

Pages