diff options
Diffstat (limited to 'org.eclipse.debug.examples.core/samples/stack.pda')
-rw-r--r-- | org.eclipse.debug.examples.core/samples/stack.pda | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/org.eclipse.debug.examples.core/samples/stack.pda b/org.eclipse.debug.examples.core/samples/stack.pda new file mode 100644 index 000000000..c7fa1628b --- /dev/null +++ b/org.eclipse.debug.examples.core/samples/stack.pda @@ -0,0 +1,21 @@ +push 5 +:thread_create +exec stack +dec +dup +branch_not_zero thread_create +push finished +output +halt +:stack +push 100 +:inner +dup +output +dup +branch_not_zero descend +return +:descend +dec +call inner +return
\ No newline at end of file |