My best guess is that your problem is caused because bytes of flash in a = 18F series PIC are stored in 2 byte sections. For example, each instructi= on takes either 2 or 4 bytes of code space. I don=E2=80=99t have any rea= l experience with gpasm or with db so I haven=E2=80=99t experienced this = problem before. As far as "code pack" it could possibly combine two 1 by= te db together. Nathan Thomsen=20 -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf = Of Jan Wagemakers Sent: Thursday, April 28, 2005 6:45 PM To: piclist@mit.edu Subject: [PIC] db : odd number of expressions, last byte will be zero Hello, I have a problem with a PIC18f452 program. It is written in asm and I mak= e use of gpasm (0.13.1). The problem is that when I use a "db" line with an odd number of expressions, a extra byte with value 0 will be added. According to the documentation(*1) that I have read this is normal behavior. I have also r= ead that it is possible to disable this feature with "code_pack". However, When I try to use "code_pack" it doesn't seems to work (maybe gp= asm doesn't understand "code_pack"?). My questions: 1. Does gpasm understand "code_pack" and if yes, how do I use it? (google for "gpasm code_pack" gives me no results) 2. Is there some other method that I can use to disable this 'feature'? (*1) | 5.13 DB =EF=BF=BD Declare Data of One Byte | | 5.13.1 Syntax | | [