I use CBLOCK to reserve memory space for variables that can be referred to by name ie MOVFW var1 EQU is used for declaring a constant. Org 0x20 ;or were you want in memory Test EQU .44 ; Test = decimal 44 - Use MOVLW Test to move .44 into W Others on the list will suggest using relative addressing were you use RES instead of CBLOCK but if you have not learnt or do not want to use relative addressing then I find CBLock and EQU are the way to go. Note I also use MOVFW and MOVWF - instead of MOV Var,W or Mov Var,F as I fine it easer to type at the time. _______________________________________ Roy Tauranga New Zealand _______________________________________ -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of Micah Carrick Sent: Sunday, 23 January 2005 12:15 p.m. To: piclist@mit.edu Subject: [PIC] Equates or CBlock? Y'all are going to be seeing alot of questions from me in the next week or two... I'm trying to figure out when I should use an EQU and when to use the CBlock. What is the difference? -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 17/01/2005 -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist