View Single Post
Old 26 July 2014, 22:14   #19
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
Quote:
Originally Posted by Leffmann View Post
A small bug report:

I just built 1.7 and noticed that it can't always parse asterisk comments correctly. It fails when you have an instruction with one or more operands, followed by a comment at the end of the line. In all other cases it works fine.
You're probably running the Motorola syntax module with -spaces option to allow blanks in the operands? Otherwise I couldn't see any problem.

When you want operands with blanks, then comments introduced by an asterisk are not supported. There is no way to differentiate it from a multiplication operator. For example:
Code:
        clr.l   4 * 2
Is the address 4 or 8?
phx is offline  
 
Page generated in 0.07195 seconds with 11 queries