#333 new
stsp

macro concatenations support

Reported by stsp | December 4th, 2018 @ 11:37 AM

nasm allows this to compile:

segment TEXT

%define U(l) __%+l

global __label
__label:

dw U(label)

yasm says
seg.asm:7: error: undefined symbol __' (first use) seg.asm:7: error: undefined symbollabel' (first use)
seg.asm:7: error: (Each undefined symbol is reported only once.)

Comments and changes to this ticket

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

Attachments

Pages