Re: [AVR-Chat] mnemonics?
2006-12-21 by John Samperi
At 07:35 AM 22/12/2006, you wrote: > > mov r2, r16 ; copy status to high register > > This results in multiple "illegal register" errors. ....... >Something funny's going on, that's for sure.. That's entirely legal. Trying removing the spaces after the comma ( shouldn't make any difference). My format is 1 tab in, mnemonic, 1 or 2 tab(s) to line up the code and then the register(s). No space or tab after the comma. Perhaps you should show us a bit more code before and after, sometimes one may be doing something wrong in the previous line. Regards John Samperi ******************************************************** Ampertronics Pty. Ltd. 11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA Tel. (02) 9674-6495 Fax (02) 9674-8745 Email: john@ampertronics.com.au Website http://www.ampertronics.com.au *Electronic Design * Custom Products * Contract Assembly ********************************************************