https://github.com/missn0body/view
A simple terminal program to view files, written in x86 assembly
https://github.com/missn0body/view
assembly assembly-language nasm x86
Last synced: 7 months ago
JSON representation
A simple terminal program to view files, written in x86 assembly
- Host: GitHub
- URL: https://github.com/missn0body/view
- Owner: missn0body
- License: unlicense
- Created: 2023-10-07T01:51:10.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-25T17:40:24.000Z (over 1 year ago)
- Last Synced: 2025-02-07T12:14:33.208Z (8 months ago)
- Topics: assembly, assembly-language, nasm, x86
- Language: Assembly
- Homepage:
- Size: 56.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# view
A barebones assembly schtick.
Made by anson.This is a simple program that writes the
contents of a given file to standard out, similar
to the program `cat`. `view` used to have an internal
buffer limit, but can not output the entirety of files
regardless of size. This program will not modify files.As of v.1.0.5, this program supports globbing of
arguments as well as long options, however there is not
much reason to actually do so, considering that this
program will resolve the `--help` and `--version` option
first, which will stop program flow. In that case, `--help`
takes precedence over `--version`. At the moment, `view` can
not read standard input from pipe, and can only read data
from existing files.This program is best used for simple ASCII text files,
as other file types may prove to have side effects
in regards to terminal output, though extensive testing
has not been preformed. In the case of files being unable
to be opened or read, `view` will print respective error
messages. `view` also gives error messages in the case of
not enough arguments present, and unrecognized arguments.I was completely unaware of an x86-32 NASM assembly
tutorial ['Writing a useful program with NASM' by Jonathan Leto](https://web.archive.org/web/20190119034555/http://leto.net/writing/nasm.php)
so any similarity is entirely coincidental.Usage and options can be read by invoking `view --help` at the
command line. This project refuses a standard license, See UNLICENSE for
related details. Issues, bugs, and other things can be discussed
at my E-Mail,### v.1.0.0
(October 2023)
Initial version, able to read files into a buffer
which is then written to screen.### v.1.0.5
(Februrary 2024)
Added the ability to read long options and to glob
single-character arguments, as well as the option to
print a specific amount of bytes to standard out.### v.1.1.0 (Bufferless version)
(Late April 2024)
* Removed internal buffer limit
* Added hex dump capabilities
* Redesigned 'help' output
* Expanded project structure from single-source to modular