Hello, 1) is any documentation that show's a small program example (not that = small as in the datasheet) of to use each mnemonic seperatly? 2) There is a 16F84 connected to a keypad and it has output to 4 leds. I get an input from my keypad in KEYVAL when a butto is pressed, now i = want to make the KEYVAL to correspond to the Number pressed. For = example: Pressed key KEYVAL Want it to be "1" 0x00 1 "8" 0x09 8 "0" 0x0D 0 How do i do such in assembler? Thx, Aart. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.