#25 (mov rax,imm64 : incorrect output) – The Yasm Modular Assembler Project

Ticket #25 (closed defect: fixed)

Opened 5 years ago

Last modified 2 years ago

mov rax,imm64 : incorrect output

Reported by: vclaudepierre@… Owned by: peter@…
Priority: P2 Milestone: 0.4.0
Component: Object Format: bin Version: 0.3.0
Severity: minor Keywords:
Cc:

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

Attachments

Change History

comment:1 Changed 5 years ago by peter@…

  • 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!

Add/Change #25 (mov rax,imm64 : incorrect output)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.