Reorganized files into labs
This commit is contained in:
parent
a27918194d
commit
c393d0c6d3
22
blink.asm
22
blink.asm
|
@ -1,22 +0,0 @@
|
||||||
|
|
||||||
|
|
||||||
.include "msp430g2553.inc"
|
|
||||||
|
|
||||||
org 0xC000
|
|
||||||
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 #40000, r9
|
|
||||||
waiter:
|
|
||||||
dec r9
|
|
||||||
jnz waiter
|
|
||||||
jmp repeat
|
|
||||||
|
|
||||||
org 0xfffe
|
|
||||||
dw start ; set reset vector to 'init' label
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
:10C00000B240805A2001F240410022001843C24849
|
|
||||||
:10C01000210078E041003940409C1983FE23F73F1E
|
|
||||||
:02FFFE0000C041
|
|
||||||
:00000001FF
|
|
Loading…
Reference in New Issue