5.2.4 Section Example - dsPIC33C/E/F Devices Only
Memory | Instruction | ||
---|---|---|---|
.section .myconst,
code | |||
.fillvalue 0x12 | |||
.fillupper 0x34 | |||
.pfillvalue 0x56 | |||
0x12 | 0x12 | 0x34 | .fill 4 |
0x12 | 0x12 | ||
0x34 | .align 2 ;Align to next
p-word | ||
0x56 | 0x56 | 0x56 | .pfill 8 |
0x56 | 0x56 | 0x56 | |
0x56 | 0x56 | ||
0x56 | .palign 2 ;Align to next
p-word | ||
.fillvalue ;Reset
fillvalue | |||
.pfillvalue ;Reset
pfillvalue | |||
0x00 | 0x00 | 0x34 | .fill 4 |
0x00 | 0x00 | ||
0x34 | .align 2 ;Align to next
p-word | ||
0x00 | 0x00 | 0x00 | .pfill 8 |
0x00 | 0x00 | 0x00 | |
0x00 | 0x00 | ||
0x00 | .palign 2 ;Align to next
p-word |