English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   Coders. Asm / Hardware (https://eab.abime.net/forumdisplay.php?f=112)
-   -   Pb Visual Studio Code (https://eab.abime.net/showthread.php?t=110316)

LeCaravage 06 April 2022 17:31

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.

phx 06 April 2022 21:31

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.

LeCaravage 06 April 2022 22:39

@phx : Please check your email box. And thanks ;-)

BippyM 06 April 2022 22:51

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.

LeCaravage 07 April 2022 17:55

Quote:

Originally Posted by BippyM (Post 1539764)
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.

Thanks mate :-)


All times are GMT +2. The time now is 17:33.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.07832 seconds with 11 queries