Vasm errors

GFA, ASM, STOS, ...

Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team

User avatar
prog99
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 117
Joined: Thu Jun 19, 2003 8:08 pm
Location: Edinburgh
Contact:

Vasm errors

Postby prog99 » Tue Dec 22, 2015 11:33 am

Ok, its only been 20 odd years since I last looked at any 68000 so bear with me! Some free time to look at things.

I've been trying to re-assemble some of my old code on vasm on my macbook but its throwing the following when hitting the hardware registers.

error 2033 in line 2435 of "GAME_20.S": absolute short address out of range
> move.w #$222,$fffff8248.w

And various other similar ones.
The commandline looks fine - vasmm68k_mot -nocase -devpac -Ftos -m68000 -o game.prg GAME_20.S
Anywhere else I can check? Obviously this all worked on devpac.

Thanks.
All my real skills are undervalued

tat
Retro freak
Retro freak
Posts: 16
Joined: Wed Nov 12, 2014 10:07 am
Contact:

Re: Vasm errors

Postby tat » Tue Dec 22, 2015 11:38 am

xerud wrote:Ok, its only been 20 odd years since I last looked at any 68000 so bear with me! Some free time to look at things.

I've been trying to re-assemble some of my old code on vasm on my macbook but its throwing the following when hitting the hardware registers.

error 2033 in line 2435 of "GAME_20.S": absolute short address out of range
> move.w #$222,$fffff8248.w

And various other similar ones.
The commandline looks fine - vasmm68k_mot -nocase -devpac -Ftos -m68000 -o game.prg GAME_20.S
Anywhere else I can check? Obviously this all worked on devpac.

Thanks.


Hi,

I think you have too many "f"s in there -- 5 rather than 4, so vasm is thinking that it's bigger than a 32-bit value.

User avatar
npomarede
Atari God
Atari God
Posts: 1291
Joined: Sat Dec 01, 2007 7:38 pm
Location: France

Re: Vasm errors

Postby npomarede » Tue Dec 22, 2015 11:39 am

xerud wrote:error 2033 in line 2435 of "GAME_20.S": absolute short address out of range
> move.w #$222,$fffff8248.w


Hi,

if it's not a typo in this forum, then you have 5 'f' instead of '4' in your $ffff8248, so vasm will complain about this (devpac throwed away extra 'f')

Nicolas

User avatar
prog99
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 117
Joined: Thu Jun 19, 2003 8:08 pm
Location: Edinburgh
Contact:

Re: Vasm errors

Postby prog99 » Tue Dec 22, 2015 12:27 pm

Haha! Yes, it was as simple as that. Amazing what devpac let you away with.

Thanks.
All my real skills are undervalued


Social Media

     

Return to “Coding”

Who is online

Users browsing this forum: No registered users and 3 guests