FLASH_INTS - ;Project 2 Flash LED.global_c_int00;Adam Mills...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
;Project 2: Flash LED ;Adam Mills nice Code. ... so says Dr. G ; .global _c_int00 ;This assembler directive allows _c_int00 to be a ;global variable. This tells the linker where your ;program (.text code) begins and where to boot from. ;**************************************************************************************** GPAMUX1 .set 0x6F86 GPATOGGLE .set 0x6FC6 GPADIR .set 0x6F8A GPADAT .set 0X6FC0 INT13_VECT .set 0x00001A ;VECTOR FOR TIMER1 INTERUPT, VMAP = 0 TIMREGPG .set 0xC00>>6 ;START OF TIMER REGISTER PAGE TIMER1PRD .set 0x0C0A ;HOLDS PERIOD OF COUNTER TIMER1PRDH .set 0x0C0B ;HOLDS PERIOD OF COUNTER [HIGH] TIMER1TCR .set 0x0C0C ;TIMER CONTROL REGISTER TIMER1PR .set 0x0C0E ;MSB CURRENT PRESCALLER COUNT, PRESCALE AMOUNT [LOW BYTES] TIMER1PRH .set 0x0C0F ;MSB CURRENT PRESCALLER COUNT, PRESCALE AMOUNT [HIGH BYTES] PERIODL .set 0xFFFF ;16 BIT LOWER COUNT VALUE PERIODH .set 0x000F ;16 BIT UPPER COUNT VALUE PRESCALEL .set 0x3 ;8 BIT LOWER PRESCALE VALUE PRESCALEH .set 0x00
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 07/11/2011.

Page1 / 2

FLASH_INTS - ;Project 2 Flash LED.global_c_int00;Adam Mills...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online