Hi Pito, On 05/25/2011 09:36 PM, pito wrote: > When put into dict_appl.inc: > > C:\MyCode\AVR\WINAVR\projects\AMFORTH\my_44\core\words/n_to_r.asm(23): > error: Relative branch out of reach > C:\MyCode\AVR\WINAVR\projects\AMFORTH\my_44\appl\template44_32\dict_appl.inc(6): > info: > 'C:\MyCode\AVR\WINAVR\projects\AMFORTH\my_44\core\words/n_to_r.asm' > included from here > C:\MyCode\AVR\WINAVR\projects\AMFORTH\my_44\core\amforth.asm(14): > info: > 'C:\MyCode\AVR\WINAVR\projects\AMFORTH\my_44\appl\template44_32\dict_appl.inc' > included from here > C:\MyCode\AVR\WINAVR\projects\AMFORTH\my_44\appl\template44_32\template.asm(52): > info: 'C:\MyCode\AVR\WINAVR\projects\AMFORTH\my_44\core\amforth.asm' > included from here > C:\MyCode\AVR\WINAVR\projects\AMFORTH\my_44\core\words/n_r_from.asm(23): > error: Relative branch out of reach
Assuming that n_r_from.asm is causing the error, add this file to dict_appl_core.inc instead of dict_appl.inc. This makes the work come earlier in the code layout. If that doesn't help, change rjmp DO_NEXT to jmp_ DO_NEXT which will use a bigger address range. Cheers, Erich ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Amforth-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amforth-devel
