Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (18 sloc) 345 Bytes
.include "msp430x2xx.inc"
.entry_point start
.org 0xf800
start:
;mov.w #0x5a80, &WDTCTL
mov.w #WDTPW|WDTHOLD, &WDTCTL
mov.b #0x41, &P1DIR
mov.w #0x01, r8
repeat:
mov.b r8, &P1OUT
xor.b #0x41, r8
mov.w #60000, r9
waiter:
dec r9
jnz waiter
jmp repeat
.org 0xfffe
dw start ; set reset vector to 'init' label