English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 22 October 2019, 16:41   #121
Antiriad_UK
Registered User

 
Join Date: Mar 2019
Location: Birmingham, UK
Posts: 85
New 0.18.1 binaries are working for me now. Thanks!
Antiriad_UK is offline  
Old 22 October 2019, 18:42   #122
prb28
Registered User

 
Join Date: May 2018
Location: France
Posts: 103
Quote:
Originally Posted by Antiriad_UK View Post
New 0.18.1 binaries are working for me now. Thanks!
Happy to hear that!
prb28 is offline  
Old Yesterday, 15:11   #123
hooverphonique
ex. demoscener "Bigmama"
 
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 961
Ok, thanks for the explanation - makes sense! :-)

I have a problem with the formatter and macros - if I call a macro with arguments, the formatter adjusts the columns weirdly, and worse, if there's more than one argument, the macro name is moved to column 1 and space is inserted between the commas and the arguments, which means it fails to assemble.
hooverphonique is offline  
Old Yesterday, 15:45   #124
prb28
Registered User

 
Join Date: May 2018
Location: France
Posts: 103
Quote:
Originally Posted by hooverphonique View Post
I have a problem with the formatter and macros - if I call a macro with arguments, the formatter adjusts the columns weirdly, and worse, if there's more than one argument, the macro name is moved to column 1 and space is inserted between the commas and the arguments, which means it fails to assemble.
Can you give me an example of macro and how would you like to be formatted ?

As a workaround you can format a text selection or add it to an included file.
You'll get into it but debug and macros doesn't deal always well...
prb28 is offline  
Old Yesterday, 17:08   #125
hooverphonique
ex. demoscener "Bigmama"
 
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 961
Quote:
Originally Posted by prb28 View Post
Can you give me an example of macro and how would you like to be formatted ?
It seems the case where it is moved to column 1 and spaces are inserted is, if a macro argument is recognized as a mnemonic:
Code:
        macro         some_macro
        \1.b          \2,d0
        endm

some_label:
        some_macro    or,d1
If you format the line where some_macro is referenced, you'll see what I mean.
hooverphonique is offline  
Old Yesterday, 17:59   #126
prb28
Registered User

 
Join Date: May 2018
Location: France
Posts: 103
Quote:
Originally Posted by hooverphonique View Post
If you format the line where some_macro is referenced, you'll see what I mean.
Thanks, yes, I understand. I'll try to fix it quickly.
prb28 is offline  
Old Today, 01:06   #127
prb28
Registered User

 
Join Date: May 2018
Location: France
Posts: 103
Quote:
Originally Posted by hooverphonique View Post
It seems the case where it is moved to column 1 and spaces are inserted is, if a macro argument is recognized as a mnemonic.
Could you please try this version : https://github.com/prb28/vscode-amig....18.2.vsix.zip
  • Unzip it on your disk
  • launch vscode
  • type F1 to have
  • the menu
  • Chose 'Extensions: Install from VSIX...'
  • select the vsix file


You were right the 'or' mnemonic was disturbing my parse.
prb28 is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
assembly code to test for assign (2.0+) jotd Coders. System 2 27 December 2017 23:16
very basic C/ASM/Visual Studio hand holding Sephnroth Coders. C/C++ 2 08 March 2016 20:15
Amiga Audio/Visual KhneFr request.Other 6 03 January 2015 10:25
Profiling WinUAE with Visual Studio 2013 mark_k support.WinUAE 3 14 January 2014 20:26
amiga visual editor thinlega request.Apps 1 22 January 2003 15:48

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:44.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Page generated in 0.06719 seconds with 15 queries