This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crpl:docs:sub [2017/10/05 15:40] – Clarified order of operation, added example kubinator4321 | crpl:docs:sub [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~DISCUSSION~~ | + | |
<- [[crpl: | <- [[crpl: | ||
===== sub ===== | ===== sub ===== | ||
- | ^Arguments^Result^Notation^ | + | <-a <-b sub ->result |
- | |Two items on the stack|The difference of two items |'' | + | |
- | + | ||
=== Description === | === Description === | ||
Subtracts the second argument from the first (i1-i2) and pushes the result on the stack. | Subtracts the second argument from the first (i1-i2) and pushes the result on the stack. | ||
=== Examples === | === Examples === | ||
- | < | + | < |
5 3 sub Trace #Displays 2 | 5 3 sub Trace #Displays 2 | ||
</ | </ |