|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
|||
|
|||
|
Assembly - HCS12 assembly
Hi,
I am learning the assembly for the micro controller MC9S12C32 with the compile code warrior. I would like to know if there someone that can help me. I have some problems with my codes. I tried the list of website you suggested but I have not found something good for me. Please let me know Thank you B |
|
#2
|
||||
|
||||
|
While I don't know who, if anyone, here knows much about that processor (I know a little), chances are that at least some of your questions will be general enough that we can give advice even if we don't have detailed knowledge about it. Whether we know the HCS12 or not, the main thing we'll need is some idea of the problem your having, including any specific code which you're having trouble with.
Also, could you tell us which SBC or embedded controller (or simulator thereof, more likely) you are targeting? The details of the other hardware will almost certainly be important, since the whole point of a micro-controller is, well, to control devices. Dealing with the CPU is probably less of an issue than dealing with the peripherals; the Freescale processors are rather simple beasts if memory serves, and while they have some weird quirks to them, they aren't that hard to learn to work with. Some of the single-board computer layouts based on them, on the other hand, seem to be designed to maximize frustration more than anything else. Finally, have you ever done any assembly programming for any other CPU before? I'm assuming not, but if you have, it could help to know which processor and system it was for, as it would give some frame of reference from which to explain things. I know you know some C, so we may be able to use that as well, but the closer we can get to what you are actually doing the easier it is to explain new details.
__________________
Rev First Speaker Schol-R-LEA;2 JAM LCF ELF KoR KCO BiWM TGIF #define KINSEY (rand() % 7) λ Scheme is the Red Pill Scheme in Short • Understanding the C/C++ Preprocessor Taming Python • A Highly Opinionated Review of Programming Languages for the Novice, v1.1 FOR SALE: One ShapeSystem 2300 CMD, extensively modified for human use. Includes s/w for anthro, transgender, sex-appeal enhance, & Gillian Anderson and Jason D. Poit clone forms. Some wear. $4500 obo. tverres@et.ins.gov Last edited by Schol-R-LEA : February 12th, 2008 at 02:09 PM. |
|
#3
|
|||
|
|||
|
That processor is based on the MC68000 ISA. That's pretty clear from the name, but a quick Google search verfied it (Feescaler's 68HC12 architecture). You should have no trouble finding references on programming a 68000 chip - its fairly easy to learn and there are free emulators to program against.
|
|
#4
|
|||
|
|||
|
Hi,
thank you. I will come back soon. unfortunately, we shift to C language with the HCS12. I found some goo references though for assembly instructions. Thank you B |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Other Programming Languages > Assembly - HCS12 assembly |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|