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

Ticket #106 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years 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.

Add/Change #106 (multiple expression too complex in TIMES.)

Author



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