Hi to all, I did some test using DAW instruction on MPLAB ICE2000 and this is the result. Movlw 0x0F ; w reg has d=15: B=00001111 DAW ; do decimal adjustments Movwf BCD_REG ; BCD_REG has d=21 b=00010101 C=0 Second digit (F) 05 First digit (0) + 01 Result 015 ; 0 means C=0: 1 is bits 4,5,6,7 and 5 is bits 0,1,2,3 Now lets deal with higher numbers Movlw 0xEF ; w reg has d=239: b=11101111 DAW ; do decimal adjustments Movwf BCD_REG ; BCD_REG has d=85 h=55 b=10101010 Second digit (F) 15 ; decimal First digit (E) + 14 ; decimal Result 155 ; 1 means C=1: 5 is bis 4,5,6,7 and 5 is bits 0,1,2,3 Andre Abelian -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body