#106 (multiple expression too complex in TIMES.) – The Yasm Modular Assembler Project
Modify

Ticket #106 (closed defect: fixed)

Opened 3 years ago

Last modified 6 weeks ago

multiple expression too complex in TIMES.

Reported by: Dron Owned by: peter@…
Priority: P1 Milestone:
Component: Preprocessor: NASM-compatible Version: 0.6.0
Severity: normal Keywords: TIMES
Cc:

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.

Attachments

Change History

comment:1 Changed 3 years ago by peter@…

  • Owner set to peter@…
  • 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

comment:2 Changed 3 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.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.