Difference between revisions of "Tutorial Moodle VPL Assembly Language with Output"

From dftwiki3
Jump to: navigation, search
(Created page with "--~~~~ ---- <br /> {| style="width:100%;" | style="width:60%;" | __TOC__ | Image:MoodleVPLLogo.png |} <br /> <bluebox> This tutorial presents a simple VPL activity to tes...")
 
(vpl_evaluate.cases)
Line 49: Line 49:
 
*********************
 
*********************
 
"
 
"
 +
</source>
 
<br />
 
<br />
 
=Testing=
 
=Testing=
 
<br />
 
<br />

Revision as of 07:25, 12 June 2014

--D. Thiebaut (talk) 08:25, 12 June 2014 (EDT)



MoodleVPLLogo.png


This tutorial presents a simple VPL activity to test an assembly language program that displays a fixed string of characters.


VPL Activity


Assembly Language: print stars
Due date: Monday, 20 June 2016, 8:00 PM
Requested files: hw2.asm (Download)
Type of work: Individual work
Grade settings: Maximum grade: 100
Run: No Evaluate: No
Assembly Language program that display stars

Execution files

vpl_run.sh


#! /bin/bash
 
cat > vpl_execution <<EOF
#! /bin/bash
nasm -f elf -F stabs hw2.asm
ld -melf_i386 -o hw2 hw2.o
./hw2
EOF

chmod +x vpl_execution


vpl_evaluate.cases


case = Test 1
output = "*********************
*********************
*********************
*********************
*********************
*********************
"


Testing