In his simple example he probably could have gotten away with cblock H'20' =20 -- Bob Ammerman -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of IVP Sent: Tuesday, October 01, 2013 6:04 PM To: Microcontroller discussion list - Public. Subject: Re: [PIC] 16F1509 looping issue with in asm. =20 > I found my problem was because I was using cblock instead of UDATA. Just curious, if you'd org 0x20 before the cblock that would've fixed it too. I don't remember seeing an address specified for RAM in your code, which starts at 0x20 on the 16F1509 Joe -- http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/chang= e your membership options at http://mailman.mit.edu/mailman/listinfo/piclist --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .