Log in

View Full Version : assembly command


tseres
17-01-2008, 16:34
how do i send an assembly command to the processor from the C in mplab? i'm not sure, but is it _asm{ <command> } ? i tried this and my code wouldnt compile....any advice?

kevin.li.rit
17-01-2008, 16:38
not 100% but I think the inline assembly is _asm then assembly code, then _endasm

Mark McLeod
17-01-2008, 23:11
In the default code do a "Find in Project Files..." for _asm and you'll see lots of examples.

tseres
18-01-2008, 08:13
ok thanks guys!