11 August 2016, 23:56 | #1 |
Registered User
Join Date: Apr 2016
Location: Perth, Australia
Posts: 401
|
Address register expected
Hello all
I was just wondering why my line: move.b (d2,a0),d0 Gives "address register expected" when the setting is for 68000 but if the setting is 68010 or above it works? Does the 68010 add this addressing mode? If so is there an equivalent for the standard 68000? |
12 August 2016, 00:14 | #2 |
Glastonbridge Software
Join Date: Jan 2012
Location: Edinburgh/Scotland
Posts: 2,243
|
it should be
Code:
move.b (a0,d2),d0 There is no "data register indirect" addressing mode so i don't know what code it is actually generating in 68010 mode...? |
12 August 2016, 00:31 | #3 |
Registered User
Join Date: Apr 2016
Location: Perth, Australia
Posts: 401
|
Ah thanks so much! I'm such a n00b
|
12 August 2016, 00:39 | #4 |
Registered User
Join Date: Apr 2016
Location: Perth, Australia
Posts: 401
|
It is weird though that it did work as expected in 68010 mode and above. Anyway I switched the order and now it's working great in 68000 mode. I just implemented the Insertion Sort algorithm
|
12 August 2016, 11:51 | #5 | |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,546
|
Quote:
But the 68010 definitely shouldn't be any different to the 68000. The supported instructions and addressing modes are exactly the same. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
WinUAE Debugger - Address Register Watchpoints | SparkyNZ | Coders. Asm / Hardware | 3 | 16 June 2015 22:39 |
How to show IP Address? | AGS | support.Apps | 18 | 08 May 2014 21:05 |
DevPac and Absolute Address | h0ffman | Coders. General | 2 | 14 January 2011 15:32 |
Which games you didnt expected to be so good?? | JudasEZT | Retrogaming General Discussion | 17 | 13 April 2009 23:38 |
NAT address | -Rob- | support.Other | 7 | 07 April 2008 00:06 |
|
|