> of constants. Since such tables are coded as a bunch of > RETLW's, accessing past the end of a table will cause code > to jump 'beyond' the end of the table. When writing assem- > bly, I'll often 'protect' tables using ANDLW, e.g. Neat idea - the trouble with it, IMHO, is that it will just mask (no pun intended) the underlying problem, i.e. that you overran the end of the table. This will change your program's behaviour from a very obvious error to a much more subtle (and therefore harder to locate) error. Cheers, Clyde -- Clyde Smith-Stubbs | HI-TECH Software Email: clyde@htsoft.com | Phone Fax WWW: http://www.htsoft.com/ | USA: (408) 490 2885 (408) 490 2885 PGP: finger clyde@htsoft.com | AUS: +61 7 3355 8333 +61 7 3355 8334 --------------------------------------------------------------------------- HI-TECH C: compiling the real world.