DM164120-1 Microchip Technology, DM164120-1 Datasheet - Page 15

BOARD DEMO PICKIT 2 LP COUNT

DM164120-1

Manufacturer Part Number
DM164120-1
Description
BOARD DEMO PICKIT 2 LP COUNT
Manufacturer
Microchip Technology
Type
MCUr
Datasheet

Specifications of DM164120-1

Contents
3 Boards (1 Populated, 2 Bare)
Processor To Be Evaluated
PIC16F690
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC16
Silicon Core Number
PIC16F
Silicon Family Name
PIC16F6xxx
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
28-pin PIC16C, 16F, 18C, 18F
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DM164120-1
Manufacturer:
Microchip Technology
Quantity:
135
© 2005 Microchip Technology Inc.
Mid-Range PICmicro
2.3.1
Numbers in the Assembler
Org (Origin)
End
Defining Data Memory Locations
EXAMPLE 2-1:
Unless there is a reason to want a name to a specific location, the cblock/endc
method is preferred. The advantage is that as variables come and go through the
development process, the cblock keeps the block to a minimum. Using one of the other
methods, you may have to go back and find an unused location.
#define Length
Length
Length
Width
Area:2
Girth
Unless otherwise specified, the assembler assumes any numeric constants in
the program are hexadecimal (base 16). Binary (base 2), Octal (base 8), Decimal
(base 10), and ASCII coding are also supported.
Org tells the Assembler where to start generating code. Normally we start coding
at address ‘0000’, but it could be anywhere. Baseline devices have a Reset
vector at the last location in program memory, so it’s good practice to have a
GOTO instruction pointing to the beginning of the program.
End tells the assembler to stop assembling. There must be one at the end of the
program. It does not necessarily have to be at the end of the file, but nothing after
the end statement will be assembled.
There are three ways to name a location (see Example 2-1).
cblock
endc
Hexadecimal:
Decimal
Octal
Binary
ASCII
Assembler Basics
equ
DEFINING DATA MEMORY
0x20
0x20
0x20
12 or 0x12 or H'12'
.12 or D'12'
O'12'
B'00010010'
A'c' or 'c'
;c-like syntax
;equate 0x20 with the symbol
;start a block of variables
;this will be at address 0x20
;this will be at address 0x21
;this is 2 bytes long, starting at
;address 0x22
;this will be at address 0x24
®
Architectural Overview
DS51556A-page 11

Related parts for DM164120-1