-----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of Olin Lathrop Sent: Saturday, June 14, 2008 6:46 PM To: Microcontroller discussion list - Public. Subject: Re: [PIC]: 10F200 General Purpose Register Addressing >Take a absolute program and replace every ORG with a absolute CODE, For grins, I tried this on my working code... Error[149] C:\SVN\NP\MOLLYQ200\CODE\DISPLAY\DISPLAY.ASM 27 : Directive only allowed when generating an object file Warning[220] C:\SVN\NP\MOLLYQ200\CODE\DISPLAY\DISPLAY.ASM 28 : Address exceeds maximum range for this processor. Error[118] C:\SVN\NP\MOLLYQ200\CODE\DISPLAY\DISPLAY.ASM 28 : Overwriting previous address contents (000D) Warning[220] C:\SVN\NP\MOLLYQ200\CODE\DISPLAY\DISPLAY.ASM 28 : Address exceeds maximum range for this processor. SO Re-reading the latest version of the MPASM User's Guide, I entered their example of the CODE directive, it is even WORSE. Warning[203] C:\SVN\NP\MOLLYQ200\CODE\DISPLAY\DISPLAY.ASM 27 : Found opcode in column 1. (RESET) Warning[211] C:\SVN\NP\MOLLYQ200\CODE\DISPLAY\DISPLAY.ASM 27 : Extraneous arguments on the line. Warning[220] C:\SVN\NP\MOLLYQ200\CODE\DISPLAY\DISPLAY.ASM 27 : Address exceeds maximum range for this processor. Error[118] C:\SVN\NP\MOLLYQ200\CODE\DISPLAY\DISPLAY.ASM 27 : Overwriting previous address contents (000D) Warning[220] C:\SVN\NP\MOLLYQ200\CODE\DISPLAY\DISPLAY.ASM 28 : Address exceeds maximum range for this processor. Warning[220] C:\SVN\NP\MOLLYQ200\CODE\DISPLAY\DISPLAY.ASM 28 : Address exceeds maximum range for this processor. Yea, yea, I need a different, more complex build environment, one that will Take weeks to implement successfully to get this to run. >It's really time to put absolute mode behind us. Way behind us. Not in my world, if I want "the magic', I'll use C. (I tried that C too, no joy! Too much complexity and built in error.) So far, I do just fine coding the 79 CAN connected PICs in our latest machine in absolute mode, ...it works, and my limited brain actually "gets it". Clearly, I'm just one of those gimmy kinda guys trying to get thru my homework on someone else's dime. :) >******************************************************************** >Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products >(978) 742-9014. Gold level PIC consultants since 2000. You don't have to beat me up Olin, I'm old enough to RTFM, the problem may be I'm too old to comprehend them. It's been too long Olin, I hope you are well. Tom * | __O Thomas C. Sefranek WA1RHP@ARRL.NET |_-\<,_ Amateur Radio Operator: WA1RHP (*)/ (*) Bicycle mobile on 145.41MHz PL74.4 ARRL Instructor, Technical Specialist, VE Contact. http://hamradio.cmcorp.com/inventory/Inventory.html http://www.harvardrepeater.org -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist