From 2611212d80a1a65c47e09822e75f2506283c949a Mon Sep 17 00:00:00 2001 From: Andrea Date: Sat, 27 Mar 2021 12:12:39 -0500 Subject: Added intial PIC24 Firmware --- EE3102Testing.X/spies046_lab6_asm_v001.s | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 EE3102Testing.X/spies046_lab6_asm_v001.s (limited to 'EE3102Testing.X/spies046_lab6_asm_v001.s') 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 + + + + + -- cgit v1.2.3