From d24d0bca4ee37be454f4985bada82ce2da47c44f Mon Sep 17 00:00:00 2001
From: Mark Wheelhouse <mjw03@doc.ic.ac.uk>
Date: Tue, 18 Feb 2020 17:19:31 +0000
Subject: [PATCH] updated refEmulate script to output the exit code from the
 ARM assembly emulation

---
 refEmulate | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/refEmulate b/refEmulate
index 8bf2152..745b8a6 100755
--- a/refEmulate
+++ b/refEmulate
@@ -84,6 +84,8 @@ files.each do |file_path|
     unless $options[:assemble_only] then
       puts "-- Emulation Output:" 
       puts json['emulator_out']
+      puts "---------------------------------------------------------------"
+      puts "The exit code is: #{exit_code}."
       puts ""
     end
   end
-- 
GitLab