--===============1846748850== Content-Type: text/plain; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by pch.mit.edu id k1DLZSek031113 Just starting out with pics after playing with basic stamp2 Could anyone briefly explain what files and directives are essential to a= =20 project I have an assortment of chips but would like to start with a 12c509a and=20 then go to perhaps a 16f628 after I've done a couple of projects with it. I have run through the quickstart tut452 in mplab7.3 setting up the proje= ct=20 and editing(cutting and pasting) the port manipulation code building and=20 watching simulating etc. So I basically understand how to use the simulator and would like to=20 practice with it first. To learn assembly proper before "burning" anythin= g. The trouble I am having is apart from understanding how to start writing = the=20 code. The template and linker files provided often don't build. Like I tried starting with the 12c509a.asm template and linker files they= =20 actually built when tested but then tried running the register clearing c= ode=20 on p20 of the datasheet(indexed addressing) but after setting up the gp registers in the address space(10h-1Fh) with=20 some values and running the code it appears to do nothing. Aside from the= =20 frustrations of trying something simple and failing I have since tried wi= th=20 the supplied f84a template and linker which just won't build even without= =20 any code added. And I have also tried using other sample codes from the n= et=20 which appear to not work perhaps because of differences between the edito= r=20 and compilers used. So simply put to start from scratch for simple code I would like to run a= nd=20 watch registers affects etc. What is necesary in the .asm file for it to work? The linker file appears not to be necesary unless multiple files are adde= d=20 to the project, is this correct? I've been banging my head over this and at times cursed and thought of go= ing=20 back to my familiar stamp even though I have always wanted to become adde= pt=20 at assembly. _________________________________________________________________ New year, new job =96 there's more than 100,00 jobs at SEEK=20 http://a.ninemsn.com.au/b.aspx?URL=3Dhttp%3A%2F%2Fninemsn%2Eseek%2Ecom%2E= au&_t=3D752315885&_r=3DJan05_tagline&_m=3DEXT --===============1846748850== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 7bit -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist --===============1846748850==--