The course objectives can be found on the University course catalog:
The notes, references and material covered by the theoretical lessons can be found on Prof. Wolper's pages.
The course takes place every Tuesday during the first quarter at the Math Institute (B37), room O2. The theoretical lessons are programmed from 14:00 to 16:00 and the practical sessions from 16:00 to 18:00.
The students are advised to come with their theoretical lessons material at each practice sessions.
|Date||Information and files.|
|Tutorial||18 Sept. 2018||
Tutorial 1: μ-code (ULG01)
|Tutorial||25 Sept. 2018||
Tutorial 2: μ-code (ULG01) and β-assembly
|Tutorial||2 Oct. 2018|
|Tutorial||9 Oct. 2018||
Tutorial 4: μ-code (ULG03) - Virtual memory
|Tutorial||16 Oct. 2018||
Tutorial 5: parallel programming
|Deadline||5 Nov. 2018, 23:59||
Project 1: β-allocator: dynamic memory allocation for β-assembler programs
Last update 14 Oct. 2018, 01:33 - File
βSim is a simulator for the β-assembly language written in Java. It features:
The simulator comes as a
.jar package you can run in several ways:
java -jar bsim-vram.jar [file1 file2 ...].
Because the built-in code editor is minimal, I don't recommend using it for developing programs. For instance, there is no "Undo" nor "Redo" option, so you might lose some work by performing some non-deliberate deletions. It is better to first write your code in another text editor such as NotePad++ or Sublime Text (β-assembly syntax highlighting and snippets, check this forum for installation location), and then load it into the simulator for testing.
To execute some code you have written in the simulator, you first have to load this piece of code in the editor. This can be done by clicking on in the upper toolbar and walking through your filesystem for getting the
When your code is ready to be executed, the execution can be triggered by clicking on in the upper toolbar. If your code does not contain any syntax error, you will be redirected to the execution window. Otherwise, the syntax error will be described in the bottom of the editor window.
You can indicate to the β-machine you want to pause the execution of your code at a specific instruction by writing the keyword
main: |; Do something LD(R1, 0, R5) .breakpoint |; The machine will pause its execution at this step ADDC(R5, R2, R6) |; ...