06 April 2022, 17:31 | #1 |
Registered User
Join Date: May 2017
Location: AmigaLand
Posts: 459
|
Pb Visual Studio Code
Hi,
I've a pb using Visual Studio Code. I have constants values defined in main program. In this main program I have include for sub routine programs. In this include I use a constant defined in main. VSC refuses to compile arguing this value is not defined. The error message is "illegal relocation". I verified in output log, the include file is loaded ok. The code assembles fine in asmone. Strange, very strange. Any hint ? Thanks for help. |
06 April 2022, 21:31 | #2 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,537
|
Which assembler is VSC configured to use?
Can you post the error message and the source text lines in question? Symbol case-sensitivity problem or non-standard characters? A relocation error with a constant usually happens when an unknown constant appears in a more complex expression than a simple addition, and the assembler tries to generate an external symbol reference for it. |
06 April 2022, 22:39 | #3 |
Registered User
Join Date: May 2017
Location: AmigaLand
Posts: 459
|
@phx : Please check your email box. And thanks ;-)
|
06 April 2022, 22:51 | #4 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
Hi,
If you mean this -> https://marketplace.visualstudio.com...amiga-assembly extension then there are a coup[le of threads here on eab. https://eab.abime.net/showthread.php?t=92239 https://eab.abime.net/showthread.php?t=100224 There are possibly others too. |
07 April 2022, 17:55 | #5 | |
Registered User
Join Date: May 2017
Location: AmigaLand
Posts: 459
|
Quote:
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Amiga Assembly extension for Visual Studio Code | prb28 | Coders. Asm / Hardware | 342 | 15 December 2023 21:22 |
Blitz Basic 2 language support for Visual Studio Code | MickGyver | Coders. Blitz Basic | 10 | 22 March 2023 08:10 |
Amiga GCC 8.3+gdb extension for Visual Studio Code | Bartman | Coders. C/C++ | 117 | 11 March 2023 20:06 |
Visual Studio Code Extensions? | AF2013 | Coders. General | 10 | 02 March 2022 11:46 |
Visual Studio Code Blitz Basic extension | earok | Coders. Blitz Basic | 29 | 16 July 2019 17:59 |
|
|