English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   Coders. Language (https://eab.abime.net/forumdisplay.php?f=114)
-   -   VASM: Access to a local label (https://eab.abime.net/showthread.php?t=103978)

litwr 16 September 2020 11:16

VASM: Access to a local label
 
Is it possible? I like FASM style when accessing such labels:
Code:

        jmp main.locl
main:
.locl:

It doesn't work with VASM. :( Is there other ways for such accessing? Thank you.

I use the next VASM version
Quote:

vasm 1.7e (c) in 2002-2016 Volker Barthelmann
vasm M68k/CPU32/ColdFire cpu backend 2.1 (c) 2002-2015 Frank Wille
vasm motorola syntax module 3.9 (c) 2002-2016 Frank Wille

meynaf 16 September 2020 12:26

You can do :
jmp main\.locl

Tomislav 16 September 2020 13:53

http://sun.hasenbraten.de/vasm/relea...neral-Syntax-2

litwr 18 September 2020 19:42

Thank you very much. It is a shame for me, I missed this information somehow. :( However they write that it is "no recommended style" - what is the recommended style then?

Wepl 23 October 2020 15:54

Quote:

Originally Posted by litwr (Post 1428558)
However they write that it is "no recommended style" - what is the recommended style then?

I would say 'a local label is local' and cannot be referenced from outside. ;)


All times are GMT +2. The time now is 22:54.

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

Page generated in 0.04153 seconds with 11 queries