From 35a020de910b4aa55185c87d9617e99cb25363d5 Mon Sep 17 00:00:00 2001
From: anttib-5 <anttib-5@student.ltu.se>
Date: Thu, 7 Mar 2019 16:32:31 +0100
Subject: [PATCH] bare2_1

---
 examples/bare1.rs |  2 +-
 examples/bare2.rs | 10 +++++++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/examples/bare1.rs b/examples/bare1.rs
index 48a0c4e..f6e0848 100644
--- a/examples/bare1.rs
+++ b/examples/bare1.rs
@@ -90,7 +90,7 @@ fn main() -> ! {
    // 0x08000424 <+36>:  b.n  0x8000426 <main+38>
    // 0x08000426 <+38>:  ldr  r0, [sp, #4]
    // 0x08000428 <+40>:  str  r0, [sp, #12]
-// => 0x0800042a <+42>:  b.n  0x8000408 <main+8>
+// => 0x0800042a <+42>:  b.n  0x8000408 <main+8>	
    // 0x0800042c <+44>:  movw  r0, #2268  ; 0x8dc
    // 0x08000430 <+48>:  movt  r0, #2048  ; 0x800
    // 0x08000434 <+52>:  bl  0x800045c <panic>
diff --git a/examples/bare2.rs b/examples/bare2.rs
index c039a6e..225f3be 100644
--- a/examples/bare2.rs
+++ b/examples/bare2.rs
@@ -71,18 +71,22 @@ fn main() -> ! {
 //
 //    What is the output in the ITM console?
 //
-//    ** your answer here **
+//    We get
+//	  Start 524429147
+//	  End 1149429355
 //
 //    Rebuild and run in release mode
 //
 //    > cargo build --example bare2 --release
 //
-//    ** your answer here **
+//    We get
+//	  Start 3475270380
+//	  End 3479270838
 //
 //    Compute the ratio between debug/release optimized code
 //    (the speedup).
 //
-//    ** your answer here **
+//    156.3
 //
 // commit your answers (bare2_1)
 //
-- 
GitLab