Hi,
i am thinking about programming for the ARM processor inside the DC in assembly language, but i would like to know if the assembly language for this processor (ARM7) is compatible (this is, i can run the same assembly code) with, for example, the ARM9 inside the GP32.
In addition, what are the differences between these processors? What are the similarities? And with other ARM processors?
Thanks in advance.
ARM assembly language compatibility
- fox68k
- DC Developer
- Posts: 49
- https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
- Joined: Tue Aug 03, 2004 11:01 am
- Has thanked: 0
- Been thanked: 0
- Contact:
-
- DCEmu Ultra Poster
- Posts: 1754
- Joined: Wed Jul 17, 2002 11:25 am
- Has thanked: 0
- Been thanked: 0
The ARM7 in the DC is I think an ARM7TDMI. That means v4 architecture, maybe v4T? If it supports Thumb code, its a v4T, if not, just v4. I'm pretty sure the ARM9 in the GBA is v4T, which means ARM and Thumb code compatible. Anyway, anything you write for the ARM in the DC should work on the GBA's ARM, but not necessarily the other way around. Thumb code requires logic that decodes the instruction on-the-fly to full ARM code. As for similarities between ARM CPUs, they're all very similar, but they are just becoming more and more advanced. Extra capabilities are added that the older chips did not have. ARM7 and ARM9 are pretty close, though it varies from core to core (because there is no single ARM7 design or ARM9 design).
If you have twenty monkeys,
banging randomly on typewriters,
they will in twenty minutes produce the complete source code to World of Warcraft.
banging randomly on typewriters,
they will in twenty minutes produce the complete source code to World of Warcraft.