Hi, I'm having troubles with translating this code from IAR to KEIL taken from TI cc1110 datasheet which aligns the halFlashDmaTrigger function to 2-bytes boundary:
MODULE flashDmaTrigger.s51 RSEG RCODE (1) PUBLIC halFlashDmaTrigger FUNCTION halFlashDmaTrigger, 0203H
halFlashDmaTrigger: ORL FCTL, #0x02; RET; END;
I read the uVision3 help about this but I didnt understand how to combine it my C code.It doesn't let me use the #pragma asm in header files.Its probably quite basic, I'm just quite new to this....
Thanks!