From c393d0c6d300331d9fc7566fcb3c8134e3a4488e Mon Sep 17 00:00:00 2001 From: Jonathan Chan Date: Sat, 13 Jan 2018 12:10:16 -0800 Subject: [PATCH] Reorganized files into labs --- blink.asm | 22 ---------------------- blink.hex | 4 ---- lab1_notes.txt => lab1/lab1_notes.txt | 0 lab2.asm => lab2/lab2.asm | 0 lab2.hex => lab2/lab2.hex | 0 prog1.asm => lab2/prog1.asm | 0 prog1.hex => lab2/prog1.hex | 0 out.hex | 7 ------- 8 files changed, 33 deletions(-) delete mode 100644 blink.asm delete mode 100644 blink.hex rename lab1_notes.txt => lab1/lab1_notes.txt (100%) rename lab2.asm => lab2/lab2.asm (100%) rename lab2.hex => lab2/lab2.hex (100%) rename prog1.asm => lab2/prog1.asm (100%) rename prog1.hex => lab2/prog1.hex (100%) delete mode 100644 out.hex diff --git a/blink.asm b/blink.asm deleted file mode 100644 index 2515ca2..0000000 --- a/blink.asm +++ /dev/null @@ -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 - diff --git a/blink.hex b/blink.hex deleted file mode 100644 index 5df7564..0000000 --- a/blink.hex +++ /dev/null @@ -1,4 +0,0 @@ -:10C00000B240805A2001F240410022001843C24849 -:10C01000210078E041003940409C1983FE23F73F1E -:02FFFE0000C041 -:00000001FF diff --git a/lab1_notes.txt b/lab1/lab1_notes.txt similarity index 100% rename from lab1_notes.txt rename to lab1/lab1_notes.txt diff --git a/lab2.asm b/lab2/lab2.asm similarity index 100% rename from lab2.asm rename to lab2/lab2.asm diff --git a/lab2.hex b/lab2/lab2.hex similarity index 100% rename from lab2.hex rename to lab2/lab2.hex diff --git a/prog1.asm b/lab2/prog1.asm similarity index 100% rename from prog1.asm rename to lab2/prog1.asm diff --git a/prog1.hex b/lab2/prog1.hex similarity index 100% rename from prog1.hex rename to lab2/prog1.hex diff --git a/out.hex b/out.hex deleted file mode 100644 index 3ebb749..0000000 --- a/out.hex +++ /dev/null @@ -1,7 +0,0 @@ -:10C0000031400004B240805A2001F240F700220083 -:10C01000F24061002100F24060002100F240430044 -:10C020002100F24042002100F24015002100F240C0 -:10C0300014002100F24047002100F2404600210098 -:04C0400032D01000EA -:02FFFE0000C041 -:00000001FF