From 22dce7b0dc1f515d14d0212b8aca19c419f3cb55 Mon Sep 17 00:00:00 2001
From: tommy <anetom-6@student.ltu.se>
Date: Tue, 9 Mar 2021 13:54:55 +0100
Subject: [PATCH] fixed 1 again

---
 examples/rtic_bare2.rs | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/examples/rtic_bare2.rs b/examples/rtic_bare2.rs
index 7ed17fc..186e729 100644
--- a/examples/rtic_bare2.rs
+++ b/examples/rtic_bare2.rs
@@ -155,14 +155,15 @@ End of assembler dump.
 //
 //    Answer in your own words, why you believe the generated code differs?
 //
-<<<<<<< HEAD
+
 /*
 To save space the compiler makes some optimizations in the code.
 So wait is now compiled as a function and takes an argument in r0 instead of 
 just setting a value before it runs.
 */
-=======
-//      It starts the wait function where it just loops nops.
->>>>>>> a08f880 (bare1-3 done)
+/*
+It starts the wait function where it just loops nops for a certain number of times that fits the wait value. Each time it will remove 1 from r0 and check if it resulted in a negative number or not. If it results in a negative number it will not branch and the wait is over. So if you insert 100 it will probably divide 100 on 8 and then insert the nearest hole number of that in to r0.
+*/
+
 //
 //    Commit your answers (bare2_3)
-- 
GitLab