Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/MAIN.ASM @ 164:999abb01c78f
+ Change data allocation scheme
author | JeanDo |
---|---|
date | Fri, 21 Jan 2011 01:44:38 +0100 |
parents | 622da16b768f |
children | 53b16a746166 |
comparison
equal
deleted
inserted
replaced
163:144822282fa3 | 164:999abb01c78f |
---|---|
29 LIST P=18F4685 ;directive to define processor | 29 LIST P=18F4685 ;directive to define processor |
30 #include <P18F4685.INC> ;processor specific variable definitions | 30 #include <P18F4685.INC> ;processor specific variable definitions |
31 | 31 |
32 #include definitions.asm ; Defines, I/O Ports and variables | 32 #include definitions.asm ; Defines, I/O Ports and variables |
33 | 33 |
34 | |
34 reset_v code 0x0000 | 35 reset_v code 0x0000 |
35 e goto start ; Start! | 36 goto start ; Start! |
36 | 37 |
37 inter_v code 0x0008 | 38 inter_v code 0x0008 |
38 bra HighInt ;High Priority Interrups | 39 bra HighInt ;High Priority Interrups |
39 | 40 |
40 inter_asm code 0x0018 ;Low Priority Interrups | 41 inter_asm code 0x0018 ;Low Priority Interrups |