From 28672216a1209cc13f0093d0cab648b83c38123c Mon Sep 17 00:00:00 2001 From: Murad Karammaev Date: Sat, 13 Aug 2022 01:50:27 +0300 Subject: [PATCH] halt in add_four_ints test --- acceptance-tests/add_four_ints.asm | 1 + acceptance-tests/add_four_ints.pgm | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/acceptance-tests/add_four_ints.asm b/acceptance-tests/add_four_ints.asm index 1ea913e..987a3ea 100644 --- a/acceptance-tests/add_four_ints.asm +++ b/acceptance-tests/add_four_ints.asm @@ -13,3 +13,4 @@ MOV R1.l, 0 MOV R1.h, 5 ADD MOV [0xf], R0 +HALT diff --git a/acceptance-tests/add_four_ints.pgm b/acceptance-tests/add_four_ints.pgm index 8a8a712..456bf7e 100644 --- a/acceptance-tests/add_four_ints.pgm +++ b/acceptance-tests/add_four_ints.pgm @@ -1,5 +1,5 @@ P2 -9 1 +10 1 255 67 # MOV R0.l, 3 @@ -11,3 +11,4 @@ P2 117 # MOV R1.h, 5 228 # ADD 47 # MOV [0xf], R0 +245 # HALT