![]() |
![]() |
#1 |
move $dff006,$dff180
Join Date: Feb 2014
Location: USA
Posts: 66
|
Illegal Operator on Include
Hi.
I encountered this problem several times, with different include files using different ASM-One versions (from 1.02 to 1.20) on Kickstart 1.3. When assembling this: Code:
INCDIR asm:include1.3/ include exec/exec_lib.i include libraries/dos_lib.i include libraries/dos.i include intuition/intuition_lib.i Code:
** Illegal Operator 5 include libraries/dos.i Code:
** Illegal Operator 53 STRUCTURE DateStamp,0 |
![]() |
![]() |
#2 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,349
|
The STRUCTURE macro is defined in exec/types.i so try including that first.
|
![]() |
![]() |
#3 |
move $dff006,$dff180
Join Date: Feb 2014
Location: USA
Posts: 66
|
Damn. This fixed it.
I feel rather stupid. Thank you, good sir. |
![]() |
![]() |
#4 |
Registered User
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,773
|
Always good idea to do a grep in these sorts of situations
![]() |
![]() |
![]() |
#5 |
Unregistered User
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 44
Posts: 4,190
|
Have a similar problem here, however the above is not the explanation in my case I think..
When I do 'incdir sources:include/' it stops at that line and says 'illegal operator'. And I am 100% sure this path exists. See pics. It says this no matter what I type after incdir. It does the same with INCLUDE. Am using Asm-Pro 1.18. Edit: The solution just dawned on me.. 'incdir' should not be located all the way to the left because then it becomes a label and obviously then it fails to recognize the rest of the line as an operator. So after indenting those lines, it is working. ![]() Last edited by demolition; 02 August 2017 at 21:21. |
![]() |
![]() |
#6 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,658
|
Yep, if you uncheck the Label: option the Assembler must interpret words at the very start of a line as a label, or labels wouldn't be possible. With Label: option on, words at the very start of a line can be interpreted as directives, instructions, etc. again.
AsmTwo does show the line in error inside an include, I added that because it's a must-have. |
![]() |
![]() |
#7 | |
Registered User
Join Date: Sep 2015
Location: Germany
Posts: 260
|
Quote:
![]() |
|
![]() |
![]() |
#8 |
Unregistered User
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 44
Posts: 4,190
|
|
![]() |
![]() |
#9 | |
Registered User
Join Date: Sep 2015
Location: Germany
Posts: 260
|
Quote:
![]() |
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Strange AsmOne operator | phx | Coders. Asm / Hardware | 23 | 18 March 2015 23:13 |
Devpac with include disk | BlueAchenar | request.Apps | 6 | 09 December 2008 00:58 |
Devpac with Include disk? | JMike | request.Apps | 12 | 04 December 2007 21:48 |
HD Installers - now illegal? | rattus | Amiga scene | 20 | 29 September 2003 00:25 |
illegal operation | Traquer | support.WinUAE | 12 | 08 April 2002 10:23 |
|
|