Welcome, Guest. Please login or register.
Amiga Kit Amiga Store Iridium Banner AMIStore App Store A1200/A600 4xIDE Interface

AuthorTopic: Looking for assembly syntax slightly different from mototrolla ?  (Read 2944 times)

0 Members and 1 Guest are viewing this topic.

guest11527

  • Guest
Re: Looking for assembly syntax slightly different from mototrolla ?
« Reply #15 on: October 18, 2017, 11:59:39 AM »
Quote from: Einstein;831897
I mean plain 68000 (not 68020, I have never examined/played with anything 680x0 above 68000). I'm not talking about indirect calls/jumps through aN, but through memory locations. I don't remember below instruction to be possible/supported on 68000, is it ?
For a simple 68000, you are completely correct. For the 68020, there is the double-indirect mode which allows that if combined with the suppressed base-register and long displacement.

Quote from: Einstein;831897
Code: [Select]
bsr (funcptr)'funcptr' being label for some (relative) address.
Well, indeed, but that's more a restriction of the "branch" family. All "conditional branches" only take byte, word or - with the 68020 - long displacements, but no directions or -calculations as the jmp/jsr family does.
 

Offline Einstein

Re: Looking for assembly syntax slightly different from mototrolla ?
« Reply #16 on: October 18, 2017, 12:15:01 PM »
@Thomas Richter

Thanks for the clarification.
I have spoken !