mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
[160041] Added multi-threading to the PDA stack example.
This commit is contained in:
parent
f62d14b16b
commit
9d2509ab15
1 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,13 @@
|
||||||
|
push 5
|
||||||
|
:thread_create
|
||||||
|
exec stack
|
||||||
|
dec
|
||||||
|
dup
|
||||||
|
branch_not_zero thread_create
|
||||||
|
push finished
|
||||||
|
output
|
||||||
|
halt
|
||||||
|
:stack
|
||||||
push 100
|
push 100
|
||||||
:inner
|
:inner
|
||||||
dup
|
dup
|
||||||
|
|
Loading…
Add table
Reference in a new issue