aboutsummaryrefslogtreecommitdiffstats
path: root/EE3102Testing.X/spies046_lab6_asm_v001.s
diff options
context:
space:
mode:
authorAndrea <smith.andreacleo@gmail.com>2021-03-27 12:12:39 -0500
committerAndrea <smith.andreacleo@gmail.com>2021-03-27 12:12:39 -0500
commit2611212d80a1a65c47e09822e75f2506283c949a (patch)
treea9e8572f72ae94c981e52504b153fe46dd892365 /EE3102Testing.X/spies046_lab6_asm_v001.s
parentCompleted .Pcb (diff)
downloadee3102-2611212d80a1a65c47e09822e75f2506283c949a.tar
ee3102-2611212d80a1a65c47e09822e75f2506283c949a.tar.gz
ee3102-2611212d80a1a65c47e09822e75f2506283c949a.tar.bz2
ee3102-2611212d80a1a65c47e09822e75f2506283c949a.tar.lz
ee3102-2611212d80a1a65c47e09822e75f2506283c949a.tar.xz
ee3102-2611212d80a1a65c47e09822e75f2506283c949a.tar.zst
ee3102-2611212d80a1a65c47e09822e75f2506283c949a.zip
Added intial PIC24 Firmware
Diffstat (limited to '')
-rw-r--r--EE3102Testing.X/spies046_lab6_asm_v001.s23
1 files changed, 23 insertions, 0 deletions
diff --git a/EE3102Testing.X/spies046_lab6_asm_v001.s b/EE3102Testing.X/spies046_lab6_asm_v001.s
new file mode 100644
index 0000000..4f0b8bc
--- /dev/null
+++ b/EE3102Testing.X/spies046_lab6_asm_v001.s
@@ -0,0 +1,23 @@
+.include "xc.inc"
+
+.text ;BP (put the following data in ROM(program memory))
+.global _mbs_wait_100us, _mbs_wait_1ms
+
+
+_mbs_wait_100us: ;100us delay
+
+ clr LATA;
+ repeat #1593
+ nop
+ return
+
+_mbs_wait_1ms: ;1ms delay
+
+ repeat #15993
+ nop
+ return
+
+
+
+
+