Minor updates to stack.pvvs related to adding tests.
authorAaron Taylor <ataylor@subgeniuskitty.com>
Sun, 28 Jul 2019 20:19:43 +0000 (13:19 -0700)
committerAaron Taylor <ataylor@subgeniuskitty.com>
Sun, 28 Jul 2019 20:19:43 +0000 (13:19 -0700)
stdlib/stack.pvvs
stdlib_tests/1003_deepdup.pvvs

index 8705c6a..b6ef808 100644 (file)
@@ -217,8 +217,8 @@ NTN                     | RTS
 @   deepdup
 @ Description:
 @   Duplicates an item deep on the stack, placing the duplicate on TOS.
 @   deepdup
 @ Description:
 @   Duplicates an item deep on the stack, placing the duplicate on TOS.
-@   By default, maximum depth is 11.
-@   True maximum depth is (max depth of stackrotate & stackrotatereverse)-3.
+@   By default, maximum depth is 13.
+@   True maximum depth is (max depth of stackrotate & stackrotatereverse)-1.
 @ Call Stack:
 @   stack word n
 @   ...
 @ Call Stack:
 @   stack word n
 @   ...
index ead3319..faaccf7 100644 (file)
@@ -12,7 +12,6 @@ SSSTN           | PUSH 1
 SSSTN           | PUSH 1
 SSSTN           | PUSH 1
 
 SSSTN           | PUSH 1
 SSSTN           | PUSH 1
 
-@SSSTTTSN        | PUSH 14
 SSSTTSTN        | PUSH 13
 NSTTTSSN        | JSR > 1100 (deepdup)
 SSSTSN          | PUSH 2
 SSSTTSTN        | PUSH 13
 NSTTTSSN        | JSR > 1100 (deepdup)
 SSSTSN          | PUSH 2