Vasm errors

GFA, ASM, STOS, ...

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

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

Vasm errors

Post by prog99 »

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
Atariator
Atariator
Posts: 17
Joined: Wed Nov 12, 2014 10:07 am
Contact:

Re: Vasm errors

Post by tat »

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: 1354
Joined: Sat Dec 01, 2007 7:38 pm
Location: France

Re: Vasm errors

Post by npomarede »

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: 122
Joined: Thu Jun 19, 2003 8:08 pm
Location: Edinburgh
Contact:

Re: Vasm errors

Post by prog99 »

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

Thanks.
All my real skills are undervalued
Post Reply

Return to “Coding”