From: Erich W. <ew....@na...> - 2011-05-25 20:16:25
|
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 |