>.equ keypad 0ffh >.equ Group1 0dfh james, the problem is that you are using the wrong syntax. when you use .equ, the equate comes before the ".equ". ex: keypad .equ 0ffh group1 .equ 0dfh