English Amiga Board


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

 
 
Thread Tools
Old 20 October 2019, 23:28   #1
Hannibal
Registered User
 
Join Date: May 2015
Location: Kirkland, Washington, USA
Posts: 56
Change in behavior in recent VASM upgrade

I've been trying to upgrade to a more recent vasm, and it generally was smooth, except one regression is blocking me:

reg/equrl statements now cannot override a previous statement. For example, this would compile before but doesn't now:
Code:
TestVar: equrl d0-d7/a0-a6
TestVar: equrl d0-d4/a0-a1
To fix this, it was as simple as changing new_equate() to new_abs() in cpu.c for those commands. However, a cleaner/more "correct" fix may be to add setr/setrs that makes it clear these can change throughout.

As for why this is important: I wrote a handful of super useful macros that I use everywhere to simulate functions, and register push/pop, with error checking, so I can write code like this:
Code:
    BeginProc myFunction,d0-d7/a0-a5
    push a3
    pop  ;knows to pop a3
    EndProc ;knows to pop d0-d7/a0-a5
I have emailed this to Frank, too - I don't know which is the best way to report things like this
Hannibal 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
Filter mask on the fly change weird behavior mcbpete support.WinUAE 2 04 September 2018 20:47
Is this normal behavior? nobody support.WinUAE 20 28 August 2017 22:38
Blithog behavior ovale Coders. Asm / Hardware 5 12 January 2015 08:05
Strange bitmap behavior losso support.WinUAE 2 31 December 2013 12:42
change the cd-rom unit number(sorry wrong place if a moderator can change) turrican3 support.OtherUAE 19 04 May 2007 23:27

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 20:46.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.06228 seconds with 13 queries