I've installed the lc3platform, I've written a simple c program to test it. and I ran it on several (working) lc3-vm implementations. but it always executes HALT and ignores the rest of the code, even though the generated assembly seems fine.
At first I compiled on my 64bit machine running elementary os. and I suspected the issue was that my machine was 64bit, so i installed the lc3platform on my Raspberry Pi, and compiled my test.c file, and moved the generated .obj file to my machine. but this didn't resolve the issue.
my test.c file:
test.zip
I've installed the lc3platform, I've written a simple c program to test it. and I ran it on several (working) lc3-vm implementations. but it always executes
HALT
and ignores the rest of the code, even though the generated assembly seems fine. At first I compiled on my 64bit machine running elementary os. and I suspected the issue was that my machine was 64bit, so i installed the lc3platform on my Raspberry Pi, and compiled my test.c file, and moved the generated .obj
file to my machine. but this didn't resolve the issue. my test.c file: test.zip