20 June 2008, 00:53 | #21 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,645
|
I''m up for that, i'll log into the IRC in the coming days.
|
20 June 2008, 00:55 | #22 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
Cool, i'm with the missus tonight and work tomorrow but should be around sat/sun etc
|
06 July 2008, 18:07 | #23 |
Posts: n/a
|
any news?
|
06 July 2008, 18:10 | #24 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
I reminded him yesterday.. fingers x'd lol
|
17 September 2008, 14:19 | #25 | |
Registered User
Join Date: Sep 2008
Location: Germany
Age: 49
Posts: 137
|
Quote:
No, mnemonics are maybe similiar but not always the same. I'll give an example. Lets compare these instructions : Code:
680x0: move.l #42,d0 x86: mov eax,42 a) you use the 32-Bit version of the move command on 68k Assembler with the ".l" postfix (there is also the ".w" postfix for 16-Bit and the ".b" for 8 Bit operation, on Intel its been defined with the use of the "EAX" register. There is also the EA-Register (16 Bit) and the A-Register (8 Bit), all are the same (strange if you ask me, but that's for historical reasons of the x86 family) b) source and destination are swapped. With "move" you always put the value of the first parameter into the second one, the same is valid for adding, subtracting etc. Overall its valid for the whole 680x0 family. On Intel its vice versa : with "mov" you put the second value into the first one, hence the register is first (again very strange for me, but hey, I grew up with Motorola CPUs). These are just two but very basic differences. There are some more. By learning Assembler of a specific cpu you learn the philosophy of the design. But : If you know the machine language of one cpu family, then its much simpler learning other cpu families as well. Things like binary logic, cpu flags are the same for all cpu's (at least the ones I know of). |
|
17 September 2008, 21:46 | #26 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,751
|
|
18 September 2008, 09:01 | #27 |
move.w #$4489,$dff07e
Join Date: Sep 2005
Location: Norfolk, UK
Age: 42
Posts: 2,351
|
|
18 September 2008, 10:37 | #28 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,751
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need an ASM manual | VoltureX | Coders. General | 2 | 17 November 2011 15:24 |
for ASM programmers | meynaf | Coders. General | 29 | 05 August 2010 10:00 |
Using ReadArgs() from asm | oRBIT | Coders. General | 4 | 11 May 2010 16:11 |
6502 Asm | pmc | Coders. General | 21 | 06 November 2008 09:37 |
Looking Barfly asm | Oneillsite | Coders. General | 4 | 25 September 2006 20:27 |
|
|