diff --git a/src/Neo.VM/OpCode.cs b/src/Neo.VM/OpCode.cs index 8a2878473c..4a705a556c 100644 --- a/src/Neo.VM/OpCode.cs +++ b/src/Neo.VM/OpCode.cs @@ -725,6 +725,10 @@ public enum OpCode : byte /// /// The item n back in the stack is copied to the top. /// + /// a b c d 2 -> a b c d b + /// index => 3[2]1 0 + /// + /// /// /// Push: 1 item(s) /// Pop: 0 item(s) @@ -735,6 +739,8 @@ public enum OpCode : byte /// /// The item at the top of the stack is copied and inserted before the second-to-top item. /// + /// a b c -> a c b c + /// /// /// Push: 1 item(s) /// Pop: 0 item(s) @@ -769,6 +775,10 @@ public enum OpCode : byte /// /// The item n back in the stack is moved to the top. /// + /// a b c d 2 -> a c d b + /// index => 3[2]1 0 + /// + /// /// /// Push: 0 item(s) /// Pop: 1 item(s) @@ -793,7 +803,6 @@ public enum OpCode : byte /// /// a b c d -> d c b a /// - /// /// /// Push: 0 item(s) /// Pop: 0 item(s) @@ -804,7 +813,8 @@ public enum OpCode : byte /// /// Pop the number N on the stack, and reverse the order of the top N items on the stack. /// - /// + /// a b c d 3 -> a d c b + /// /// /// Push: 0 item(s) /// Pop: 1 item(s)