Skip to content

Commit 4b56b69

Browse files
committed
update spec
1 parent 35dfdf4 commit 4b56b69

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

spec.markdown

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This document is organized as follows:
2626
* [`mov` (Assignment)](#mov)
2727
* [`add` (Addition)](#add)
2828
* [`sub` (Subtraction)](#sub)
29-
* [`trn` (Truncation)](#trn)
29+
* [`trn` (Truncated Subtraction)](#trn)
3030
* [`mul` (Multiplication)](#mul)
3131
* [`div` (Division)](#div)
3232
* [`dif` (Conditional Division)](#dif)
@@ -50,7 +50,6 @@ This document is organized as follows:
5050
* [`bxo` (Bitwise Xor)](#bxo)
5151
* [`lpb..lpe` (Loop / Conditional)](#lpb)
5252
* [`clr` (Clear)](#clr)
53-
* [`sor` (Sort)](#sor)
5453
* [`seq` (Sequence)](#seq)
5554
* [Termination](#termination)
5655

@@ -163,7 +162,7 @@ sub $0,$1 ; $0 := -2 - (-3) = 1
163162

164163
<a name="trn"/>
165164

166-
## **trn** (Truncation)
165+
## **trn** (Truncated Subtraction)
167166

168167
Subtract the source from the target operand and ensure non-negative result.
169168

@@ -514,12 +513,6 @@ The `lpb` can also have a second (optional) argument. In that case, the loop cou
514513

515514
The `clr` (clear) operation resets a memory region to zero. The target operand marks the start of the memory region. The second argument is the length of the memory region. For example `clr $2,3` sets the memory cells `$2`,`$3``$4` to zero. If the length is negative, the memory region is reset to the left-hand side of the target operand.
516515

517-
<a name="sor"/>
518-
519-
## **sor** (Sort)
520-
521-
The `sor` operation sorts a memory region. The target operand marks the start of the memory region. The second argument is the length of the memory region. For example `sor $2,3` sorts the memory cells `$2`,`$3``$4` in ascending order. If the length is negative, the memory region is reset to the left-hand side of the target operand. This can be used to sort a region in descending order.
522-
523516
<a name="seq"/>
524517

525518
## **seq** (Sequence)

0 commit comments

Comments
 (0)