From 309106b51ead9351e2ec6e0b74672f47ab945945 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 26 Mar 2020 11:42:56 +0000 Subject: [PATCH] add newline to stop gnu-as whining --- src/soc/simulator/program.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/simulator/program.py b/src/soc/simulator/program.py index 4466f99b..b3c1e87f 100644 --- a/src/soc/simulator/program.py +++ b/src/soc/simulator/program.py @@ -15,7 +15,7 @@ class Program: def __init__(self, instructions): if isinstance(instructions, list): instructions = '\n'.join(instructions) - self.assembly = instructions + self.assembly = instructions + '\n' # plus final newline self._assemble() def __enter__(self): -- 2.30.2