English Amiga Board


Go Back   English Amiga Board > News

 
 
Thread Tools
Old 28 December 2022, 07:02   #1
a/b
Registered User

 
Join Date: Jun 2016
Location: europe
Posts: 806
asm-pro 1.19

Here's a little something I've been working on the last year or so. Started out of necessity because asm-one has too many issues and is definitely out of development, and since asm-pro is in a much better shape I started using it more, but every once in a while I ran iinto a problem. Fortunately, it comes with the source code, so here we are...
I've spent too much time today typing the readme and release notes, so I'll copypasta the readme file here. It's available on aminet in dev/asm.

====
Update for the ASM-Pro package, includes latest executable.
Some of the older versions use ENVARC:Asm-Pro_beta.Pref instead of
ENVARC:Asm-Pro.Pref. If your preferences don't look OK, please ensure
that you have the correct (not beta) .Pref file.

This release fixes a number of KS2.x, 68000/010, and FPU compatibility
issues, as well as a large number of other issues (over 60 bugfixes in
total, see the history file for details). You can run it on KS2.04+
and 68000 based systems again.
Code has been cleaned up and optimized (over 2600 micro optimizations,
and a number of subroutines rewritten), resulting in 15KB reduction of
the executable size and a smaller memory footprint overall.

Additions (detailed description available in the history file):
1. WX command to enable short code and data hunks (code+bss, data+boss)
2. ADDBP directive to add a breakpoint from the source code
3. Command line history jump by 10 lines, don't store repeated lines
4. Macro symbol parameter \<symbol> and \<$symbol> (vasm style)
5. Assembly elapsed time

IF YOU FIND ANY ADDITIONAL KS2.X OR 68000/010 ISSUES, OR IF SOMETHING
DOES NOT WORK PROPERLY, COMPARED TO v1.18 (read: if I messed up :P),
PLEASE LET ME KNOW. I'll do my best to fix them.
a/b is offline  
Old 05 January 2023, 03:40   #2
admiral
Engineer
 
Join Date: Oct 2018
Location: Shadow realm
Posts: 140
Restored 68k support is very welcome.

Got a git repository up somewhere?
admiral is offline  
Old 05 January 2023, 04:12   #3
a/b
Registered User

 
Join Date: Jun 2016
Location: europe
Posts: 806
Source is not available yet, the plan is to release it with v1.20.
a/b is offline  
Old 10 January 2023, 11:47   #4
Edders
Registered User

Edders's Avatar
 
Join Date: Oct 2018
Location: Worcester, UK
Posts: 22
That is great news, thanks for sharing. It is my favourite asm IDE for the Amiga - especially the colour coding of the source. I'm looking forward to trying this new version out.
Edders is offline  
Old 10 January 2023, 12:10   #5
a/b
Registered User

 
Join Date: Jun 2016
Location: europe
Posts: 806

Latest version (1.19b) is in the zone, make sure to use that one.
a/b is offline  
Old 10 January 2023, 19:22   #6
kamelito
Zone Friend

kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,577
A/b did you knew about that one? https://github.com/bsdf/TRASHM-PRO
kamelito is offline  
Old 13 January 2023, 10:55   #7
a/b
Registered User

 
Join Date: Jun 2016
Location: europe
Posts: 806
Quote:
Originally Posted by kamelito View Post
A/b did you knew about that one? https://github.com/bsdf/TRASHM-PRO
Yeah, it was on the radar (there's a thread on this forum).
To keep it simple and politics free: I don't like the idea of forking and rebranding it, there's no need for that. Also, the way he approached it made finding useful changes difficult (diff from original source? "everything" is diff-erent).
a/b is offline  
Old 14 January 2023, 18:48   #8
pintcat
Registered User
 
Join Date: Mar 2008
Location: Berlin/Germany
Posts: 224
@ a/b:
Code:
movea.w    ax,+(ay)
movea.w    ax,-(ay)
movea.l    ax,+(ay)
movea.l    ax,-(ay)
All these lines result in an "Adress reg. expected" error.
Code:
movea    ax,+(ay)
movea    ax,-(ay)
These give an "Undefined symbol" error.
pintcat is offline  
Old 14 January 2023, 19:06   #9
StingRay
move.l #$c0ff33,throat

StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,790
Quote:
Originally Posted by pintcat View Post
@ a/b:
Code:
movea.w    ax,+(ay)
movea.w    ax,-(ay)
movea.l    ax,+(ay)
 movea.l    ax,-(ay)
All these lines result in an "Adress reg. expected" error.

Error message is correct, movea requires an address register as destination.


Quote:
Code:
movea    ax,+(ay)
movea    ax,-(ay)
These give an "Undefined symbol" error.

First instruction is invalid (should be (ay)+), second works with ASM-Pro 1.16d at least (did not check with latest ASM-Pro version) but will be silently converted to the correct move.w ax,-(ay) version.

Edit: Checked with ASM-Pro 1.19b, no error message, it also silently converts the instruction to its correct version.

Last edited by StingRay; 14 January 2023 at 19:17. Reason: typo
StingRay is offline  
Old 14 January 2023, 20:11   #10
a/b
Registered User

 
Join Date: Jun 2016
Location: europe
Posts: 806
movea ax,-(ay) works fine here in 1.19c, and should in any new or old version. Did you try only the second (predec) instruction, without the invalid preinc?
I'm using asm-pro to generate itself (3x actually, e.g.: x1.19c in 1.18, then y1.19c in x1.19c, and finally z1.19c in y1.19c, and all 3 must be 100% identical, except timestamps) so these definitely wouldn't go unnoticed.
a/b is offline  
Old 14 January 2023, 20:15   #11
pintcat
Registered User
 
Join Date: Mar 2008
Location: Berlin/Germany
Posts: 224
Ah got it, thanks. It was my mistake the whole time and now I got confused since this is the first assembler which dares to complain. Life is tricky.
In fact, "ax,+(ay)" is always wrong and should be "ax,(ay)+". It was my typo and I didn't notice because of being focused on the error messages.
pintcat is offline  
Old 14 January 2023, 20:21   #12
pintcat
Registered User
 
Join Date: Mar 2008
Location: Berlin/Germany
Posts: 224
@a/b: Works here too. I checked every line on its own, but probably forgot to check the predec instruction after all.
pintcat 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
ASM-Pro command line arguments Quagliarulo Coders. Asm / Hardware 2 22 December 2021 23:42
ASM-Pro memory issue Toki Coders. Asm / Hardware 8 19 December 2021 15:15
ASM: Asm-ONE or AsmPro - how to set a Hello amiga coders, I hope it is ok to hijack ? Fireball Coders. Asm / Hardware 2 24 April 2020 22:16
ASM-Pro v1.18 Environment feature. obiwanken Coders. Asm / Hardware 3 19 August 2013 22:46
ASM Pro library request - Help W4r3DeV1L Coders. General 3 20 June 2008 17:04

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 02:24.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Page generated in 0.09358 seconds with 12 queries