DM164120-2 Microchip Technology, DM164120-2 Datasheet - Page 38

BOARD DEMO PICKIT 2 44PIN

DM164120-2

Manufacturer Part Number
DM164120-2
Description
BOARD DEMO PICKIT 2 44PIN
Manufacturer
Microchip Technology
Type
MCUr
Datasheets

Specifications of DM164120-2

Contents
3 Boards (1 Populated, 2 Bare)
Processor To Be Evaluated
PIC16F
Silicon Manufacturer
Microchip
Kit Contents
PIC16F Device, 2 PCB Boards
Features
Small Surface Mount Prototype Area, Two Bare PCB Boards
Development Tool Type
Hardware - Daughter Card
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
PIC16F887
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DM164120-2
Manufacturer:
Microchip Technology
Quantity:
135
44-Pin Demo Board User’s Guide
DS41296B-page 34
EXAMPLE 3-12:
BinaryToGrayCode
TableStart
ANDLW
MOVWF
MOVLW
MOVWF
MOVLW
ADDWF
BTFSC
INCF
MOVWF
RETLW
RETLW
RETLW
RETLW
RETLW
RETLW
RETLW
RETLW
RETLW
RETLW
RETLW
RETLW
RETLW
RETLW
RETLW
RETLW
0x0F
temp
high TableStart
PCLATH
low TableStart
temp,w
STATUS,C
PCLATH,f
PCL
b'0000'
b'0001'
b'0011'
b'0010'
b'0110'
b'0111'
b'0101'
b'0100'
b'1100'
b'1101'
b'1111'
b'1110'
b'1010'
b'1011'
b'1001'
b'1000'
CONVERT BINARY TO GRAY CODE
;mask off invalid entries
;get high order part of the
;beginning of the table
;load starting address of table
;add offset
;did it overflow?
;yes: increment PCLATH
;modify PCL
;0
;1
;2
;3
;4
;5
;6
;7
;8
;9
;10
;11
;12
;13
;14
;15
© 2007 Microchip Technology Inc.

Related parts for DM164120-2