From: Jan K. <kro...@ho...> - 2012-05-30 18:59:33
|
Hello, I wont to include 2 asm files.It is for me the first time to do this.Can someone help me with a sugestion where to place these so the compiler is taken them. The files are: 2r_from.asm2to_r.asm Thanks in advance for anny help. Cheers, Jan KromhoutHellevoetsluis-NL |
From: Matthias T. <mt...@we...> - 2012-05-30 19:08:36
|
Hi Jan, > Hello, I wont to include 2 asm files.It is for me the first time to > do this.Can someone help me with a sugestion where to place these so > the compiler is taken them. The files are: 2r_from.asm2to_r.asm > Thanks in advance for anny help. edit your dict_appl.inc file and add the lines .include "words/2to_r.asm" .include "words/2r_from.asm" at the end. Make sure, to add an empty newline, the assembler needs it. After that re-assemble and re-flash and the two words should come up in the word list. The only error message should be an "duplicate label" (or alike). In that case you've already the words included from elsewhere (the hierarchy of the included files is pretty complex...). Matthias |
From: Matthias T. <mt...@we...> - 2012-05-31 17:53:34
|
Hi Jan, > It is working. Fine :=) > > How can I figure out wich words are not include? Good question. I see it the other way: What words are included? For that I usually consolt the inc-files that are usede (mostly dict_appl.inc and dict_appl_core.inc). The inc files in the core/ directory are pre-defined sets of words that are useful if included together. And no: there is no tool around to tell which words are included and which are not. Maybe you want to volunteer? HTH Matthias |
From: Jan K. <kro...@ho...> - 2012-05-30 19:44:38
|
Hi Mathias, Thanks for this. It is working. How can I figure out wich words are not include? Cheers, Jan kromhout Sacharovlaan 3 3223HM Hellevoetsluis-NL Op 30 mei 2012 om 21:08 heeft Matthias Trute <mt...@we...> het volgende geschreven: > Hi Jan, > >> Hello, I wont to include 2 asm files.It is for me the first time to >> do this.Can someone help me with a sugestion where to place these so >> the compiler is taken them. The files are: 2r_from.asm2to_r.asm >> Thanks in advance for anny help. > > edit your dict_appl.inc file and add the lines > > .include "words/2to_r.asm" > .include "words/2r_from.asm" > > at the end. Make sure, to add an empty newline, the assembler > needs it. > > After that re-assemble and re-flash and the two words should > come up in the word list. The only error message should be an > "duplicate label" (or alike). In that case you've already the > words included from elsewhere (the hierarchy of the included > files is pretty complex...). > > Matthias > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Amforth-devel mailing list for http://amforth.sf.net/ > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel > |
From: Jan K. <kro...@ho...> - 2012-05-31 19:03:49
|
Hi Mathias, I have include in to the "dict_appl.inc" the last two words. .include "dict_interrupt.inc" .include "dict_usart.inc" .include "dict_wl.inc" .include "dict_minimum.inc" .include "words/2to_r.asm" .include "words/2r_from.asm" But when I load the case.frt then the words 2r> and 2>r are not recognise. Can you tell me what I do wrong? Thanks. Cheers, Jan > Date: Thu, 31 May 2012 19:53:27 +0200 > From: mt...@we... > To: amf...@li... > Subject: Re: [Amforth] need some help > > Hi Jan, > > > > It is working. > > Fine :=) > > > > > How can I figure out wich words are not include? > > Good question. I see it the other way: What words > are included? For that I usually consolt the > inc-files that are usede (mostly dict_appl.inc > and dict_appl_core.inc). The inc files in the > core/ directory are pre-defined sets of words that > are useful if included together. > > And no: there is no tool around to tell which words > are included and which are not. Maybe you want to > volunteer? > > HTH > Matthias > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Amforth-devel mailing list for http://amforth.sf.net/ > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel |
From: Matthias T. <mt...@we...> - 2012-05-31 19:30:45
|
Hi Jan, > > Hi Mathias, I have include in to the "dict_appl.inc" the last two words. .include "dict_interrupt.inc" > .include "dict_usart.inc" > .include "dict_wl.inc" > .include "dict_minimum.inc" > .include "words/2to_r.asm" > .include "words/2r_from.asm" Final-New-Line missing? The assembler is a stupid tool .. The assembler generates a .lst file. It is basically the content of all asm files and the generated machine code. Check this file for the two words. If you find them, the words are in the hex files and you probably pick the wrong hex file for flashing the controller. If they are not part of the lst file you should carefully check this file: which files are included and what's their content. Esp look for dict_ files and where they come from. Matthias |