pic24hj16gp304 Microchip Technology Inc., pic24hj16gp304 Datasheet - Page 22

no-image

pic24hj16gp304

Manufacturer Part Number
pic24hj16gp304
Description
High-performance, 16-bit Microcontrollers
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
pic24hj16gp304-E/ML
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
pic24hj16gp304-E/PT
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
pic24hj16gp304-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic24hj16gp304-H/ML
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
pic24hj16gp304-H/PT
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
pic24hj16gp304-I/ML
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
pic24hj16gp304-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic24hj16gp304T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC24HJ32GP202/204 and PIC24HJ16GP304
3.1.1
The program memory space is organized in word-
addressable blocks. Although it is treated as 24 bits
wide, it is more appropriate to think of each address of
the program memory as a lower and upper word, with
the upper byte of the upper word being unimplemented.
The lower word always has an even address, while the
upper word has an odd address (See Figure 3-2).
Program memory addresses are always word-aligned
on the lower word, and addresses are incremented or
decremented by two during code execution. This
arrangement provides compatibility with data memory
space addressing and makes data in the program
memory space accessible.
FIGURE 3-2:
DS70289A-page 20
0x000001
0x000003
0x000005
0x000007
Address
msw
PROGRAM MEMORY
ORGANIZATION
Program Memory
PROGRAM MEMORY ORGANIZATION
‘Phantom’ Byte
(read as ‘0’)
00000000
00000000
00000000
00000000
most significant word
23
Preliminary
16
Instruction Width
3.1.2
All PIC24HJ32GP202/204 and PIC24HJ16GP304
devices reserve the addresses between 0x00000 and
0x000200 for hard-coded program execution vectors.
A hardware Reset vector is provided to redirect code
execution from the default value of the PC on device
Reset to the actual start of code. A GOTO instruction is
programmed by the user application at 0x000000, with
the actual address for the start of code at 0x000002.
PIC24HJ32GP202/204
devices also have two interrupt vector tables, located
from 0x000004 to 0x0000FF and 0x000100 to
0x0001FF. These vector tables allow each of the many
device interrupt sources to be handled by separate
Interrupt Service Routines (ISRs). Section 6.1 “Inter-
rupt Vector Table” provides a more detailed discus-
sion of the interrupt vector tables.
least significant word
8
INTERRUPT AND TRAP VECTORS
© 2007 Microchip Technology Inc.
and
0
(lsw Address)
PC Address
0x000000
0x000002
0x000004
0x000006
PIC24HJ16GP304

Related parts for pic24hj16gp304