I have external requirement to use IAR instead of HEW.Now trying to make FFT examples to work on R32C112 without success.
To make it compile at all I renamed .a30 files to .asm, then changed beginning like this:
--8<------------------------------
NAME FastFourierTransform64
PUBLIC FastFourierTransform64
RSEG CODE
FastFourierTransform64:
mov.l a0, a0b ; a0b = a0 = x
mov.l a1, a1b ; a1b = a1 = w
--8<------------------------------
Now what I get is error I cannot get rid of:
--8<------------------------------
Building configuration: MyIAR - Release
Updating build tree...
FastFourierTransform_r32c.asm
Error[As026]: Limit exceeded: Allowed range is 0xffffff80 - 0x7f (-128 - 127), value is 0xffffff7c (-132) C:\Documents and Settings\bill\Desktop\HW Development\minuIAR\FastFourierTransform_r32c.asm 123
Error[As026]: Limit exceeded: Allowed range is 0xffffff80 - 0x7f (-128 - 127), value is 0xffffff64 (-156) C:\Documents and Settings\bill\Desktop\HW Development\minuIAR\FastFourierTransform_r32c.asm 128
Error[As026]: Limit exceeded: Allowed range is 0xffffff80 - 0x7f (-128 - 127), value is 0xffffff4c (-180) C:\Documents and Settings\bill\Desktop\HW Development\minuIAR\FastFourierTransform_r32c.asm 133
Error while running Assembler
Total number of errors: 3
Total number of warnings: 0
--8<------------------------------
Those three errors all point to three lines:
jltu loop_*
Unsure what should I do. I think we need some doc describing this procedure (C and ASM integration, porting from HEW to IAR)? Google didn't help either. I have read documentation on http://www.iar.com/website1/1.0.1.0/165/1/ without much outcome.
©2003–2009 Renesas Technology Corp. All rights reserved. Using Our Website | Privacy
Contact us