Programming ASM and debugging

General discussion on mikroProg™ programmer and debugger and mikroProg Suite software as well.
Post Reply
Author
Message
bassglider
Posts: 1
Joined: 04 May 2012 02:10

Programming ASM and debugging

#1 Post by bassglider » 04 May 2012 02:11

What would be the workflow or tool to use for coding ARM ASM and debugging. Can I code ASM and flash to the device with the IDE and debug with the IDE. No C, just ASM.

Thanks

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Programming ASM and debugging

#2 Post by filip » 04 May 2012 09:49

Hi,

You could use the asm declaration in the C code and use the asm in that way, like this :

Code: Select all

void main() {
  asm {
   ; your asm code here
   ; ...
   ; ... 
  }
}
The compiler will properly interpret your asm code and you will be able to program the code and use the hardware debugger also.

Regards,
Filip.

Post Reply

Return to “mikroProg™ programmer and debugger”