Ticket #17 (new defect)
%assign does not support $
| Reported by: | jlawson-yasm@… | Owned by: | peter@… |
|---|---|---|---|
| Priority: | P2 | Milestone: | 1.0.0 |
| Component: | Preprocessor: 'real' NASM | Version: | other |
| Severity: | normal | Keywords: | rthml tab space editor js |
| Cc: |
Description (last modified by peter@…) (diff)
The "$" operator (current assembly position) cannot be used in expressions for the %assign directive. This was seen in YASM version 0.3.0 (Note that your Bugzilla version table dropdown does not list 0.3.0 yet) For example this fails with "`$' not supported": %assign ual ($-startseg) mov eax,ual But this succeeds: mov eax,($-startseg) I've tried this in "-p nasm -r nasm" and also without any -p or -r options.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
