Question Authors' Forum

Run Assembly Code ?

Picture of can oz
Run Assembly Code ?
by can oz - Friday, 16 March 2018, 8:18 PM

Is it possible to run assembly code by adding some java files to supported files of a question. For example with this project  if i add this source files can i run assembly codes ?

Picture of Richard Lobb
Re: Run Assembly Code ?
by Richard Lobb - Friday, 16 March 2018, 10:16 PM

You can do pretty much anything you like if you write your own high level script (template) to control the execution. One of our staff members here has questions in a compiler course where students submit their implementation of a simple compiler in Python. The script compiles a test program using the student's compiler. The output from that is JVM assembly code and the script then runs that code with the JVM.

To see how to script questions see or my second-to-last posting in this recent forum thread