projects
/
vvhitespace
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added stdlib_test for memcmp subroutine.
[vvhitespace]
/
examples
/
random-heap-dump
/
randomheap.pvvs
diff --git
a/examples/random-heap-dump/randomheap.pvvs
b/examples/random-heap-dump/randomheap.pvvs
index
2cd3532
..
b677618
100644
(file)
--- a/
examples/random-heap-dump/randomheap.pvvs
+++ b/
examples/random-heap-dump/randomheap.pvvs
@@
-1,3
+1,8
@@
+@@ Seed the RNG
+SSSSN | PUSH 0 (ptr)
+SSSTTSTTTTSTSTSTTSTTSTTTTTSTTTSTTTTN | PUSH Seed value
+TTS | STORE
+
@@ Populate heap[18]-heap[29] with random values
SSSTSTTN | PUSH 11
SSSTSSTSN | PUSH 18
@@ Populate heap[18]-heap[29] with random values
SSSTSTTN | PUSH 11
SSSTSSTSN | PUSH 18
@@
-9,5
+14,5
@@
SSSTSSSSN | PUSH 16
NSTTTTSSSN | JSR > 111000 (dump heap)
NNN | DIE
NSTTTTSSSN | JSR > 111000 (dump heap)
NNN | DIE
-#include
"debug.pvvs"
-#include
"heap.pvvs"
+#include
<debug.pvvs>
+#include
<heap.pvvs>