1 ## SPED - the stupidly pointless editor
3 **sped** is a line editor written in x86 assembly. Back in the day, before visual editors, line editors like **ed** were used.
4 This is my own stupid and pointless attempt at writing such line editor.
10 with `gcc` and `nasm` installed, you can simply run
18 **sped** takes a single command line argument, the file you wish to open.
23 **p** - prints the contents of the current line
25 **n** - prints the current line number
27 **+/-** - moves up/down a line
29 **g/G** - jumps to top/bottom of file
31 **c** - change the contents of the current line
33 **o/O** - insert line after/before current line
35 **d** - delete current line
39 **q** - exists the program
43 **what is the point of this**
45 obviously, we live in a day and age where we have the comfort of visual editors, so line editors like these have become obsolete. i simply wanted to work on a relatively easy to implement project so i can learn some assembly.