#104 ✓resolved
Peter Johnson

multiple expression too complex in TIMES.

Reported by Peter Johnson | June 25th, 2011 @ 07:50 PM

Originally posted on Trac by Dron
Original Trac Ticket

  Description

  @@@

struc bug
TIMES (64 - $) resb 1
endstruc


$ yasm -felf -Wno-unrecognized-char -Worphan-labels bug.asm -o bug.o
bug.asm:2: multiple expression too complex

in version 0.5.0 this work ok!
Thanks for help.

  
h3. Trac Attachments

h3. Trac Comments
comment:1
    
                  
                  Changed 4 years ago by peter@tortall.net

I'll look into fixing this. In the meantime you can use the following backwards-compatible workaround (it also works on NASM):

struc workaround
TIMES (64 - ($-$$)) resb 1
endstruc

  comment:1

              Changed 4 years ago by peter@tortall.net

  Owner
    set to peter@tortall.net

  Status
    changed from new to assigned

I'll look into fixing this. In the meantime you can use the following backwards-compatible workaround (it also works on NASM):

struc workaround
TIMES (64 - ($-$$)) resb 1
endstruc

  Owner
    set to peter@tortall.net

  Status
    changed from new to assigned

comment:2
    
                  
                  Changed 4 years ago by peter

(In [1842]) Move absolute section handling into NASM parser, removing all traces of it from libyasm core. Now absolute sections are tracked locally to the parser
and the parser generates EQUs directly for labels in absolute sections.

Fixes #106 and #103.

  comment:2

              Changed 4 years ago by peter

  Status
    changed from assigned to closed

  Resolution
    set to fixed

(In [1842]) Move absolute section handling into NASM parser, removing all traces of it from libyasm core. Now absolute sections are tracked locally to the parser
and the parser generates EQUs directly for labels in absolute sections.

Fixes #106 and #103.

  Status
    changed from assigned to closed

  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