shawnanastasio / Seq.asm
Minimal implementation of UNIX seq command in x86_64 assembly.
Stars: ✭ 37
Programming Languages
assembly
5116 projects
Labels
Projects that are alternatives of or similar to Seq.asm
Contribute To Open Source
Learn the GitHub workflow by contributing code in a fun simulation project
Stars: ✭ 684 (+1748.65%)
Mutual labels: educational
X86 Assembly Cheat
MOVED TO: https://github.com/cirosantilli/linux-kernel-module-cheat#userland-assembly SEE README. x86 IA-32 and x86-64 userland minimal examples tutorial. Hundreds of runnable asserts. Nice GDB setup. IO done with libc, so OS portable in theory. NASM and GAS covered. Tested in Ubuntu 18.04. Containers (ELF), linking, calling conventions. System land cheat at: https://github.com/cirosantilli/x86-bare-metal-examples, ARM cheat at: https://github.com/cirosantilli/arm-assembly-cheat
Stars: ✭ 773 (+1989.19%)
Mutual labels: x86-64
Os2
x86_64 OS kernel with completely async userspace and single address space [WIP; but basic kernel functionality implemented]
Stars: ✭ 25 (-32.43%)
Mutual labels: x86-64
Cemu
Cheap EMUlator: lightweight multi-architecture assembly playground
Stars: ✭ 666 (+1700%)
Mutual labels: x86-64
Reverse Engineering
This repository contains some of the executables that I've cracked.
Stars: ✭ 29 (-21.62%)
Mutual labels: x86-64
Blockly Games
A series blockly games which aim to teaching children programming based on Blockly Library.
Stars: ✭ 19 (-48.65%)
Mutual labels: educational
Openwrt
Automatic unattended weekly builds of the current OpenWrt development master branch for X86_64, Redmi-AC2100 (红米AC2100), Phicomm-K2P (斐讯K2P), K2P-32M-USB (K2P 32M USB版), NanoPi-R2S, Newifi-D2 (新路由3), Hiwifi-HC5962 (极路由4增强版), Xiaomi-R3P (小米路由PRO) and XY-C5 (小娱-C5).
Stars: ✭ 818 (+2110.81%)
Mutual labels: x86-64
Keypatch
Multi-architecture assembler for IDA Pro. Powered by Keystone Engine.
Stars: ✭ 939 (+2437.84%)
Mutual labels: x86-64
Arm now
arm_now is a qemu powered tool that allows instant setup of virtual machines on arm cpu, mips, powerpc, nios2, x86 and more, for reverse, exploit, fuzzing and programming purpose.
Stars: ✭ 719 (+1843.24%)
Mutual labels: x86-64
Ksm
A fast, hackable and simple x64 VT-x hypervisor for Windows and Linux. Builtin userspace sandbox and introspection engine.
Stars: ✭ 673 (+1718.92%)
Mutual labels: x86-64
Svm kernel
x86_64 AMD kernel optimized for performance & hypervisor usage
Stars: ✭ 32 (-13.51%)
Mutual labels: x86-64
Javassembly
💾 Calling Assembly from Java: simple example using the JNI and NASM.
Stars: ✭ 28 (-24.32%)
Mutual labels: x86-64
Snapp
Snapp! turns Snap! projects into standalone executables!
Stars: ✭ 26 (-29.73%)
Mutual labels: educational
seq.asm
Minimal implementation of UNIX seq command in x86_64 assembly.
A simple implementation of the UNIX seq command in 100% x86_64 assembly. The seq command generates a sequence of numbers from the given parameters. This implementation serves as a well-documented example project for those learning assembly, much like the calc.asm project.
Compiling
As this project is written in Intel-syntax assembly, you'll need nasm
to compile it.
After it's installed, you can compile the program by doing the following:
$ nasm -f elf64 -o seq.o seq.asm
$ ld -o seq seq.o
Usage
This implementation accepts either one or two parameters for sequence generation:
./seq <start> <end>
or
./seq <end>
If only one argument is provided, start is assumed to be 1.
Examples
Two arguments:
$ ./seq 10 15
10
11
12
13
14
15
One argument:
$ ./seq 5
1
2
3
4
5
Fork Me
Feel free to fork the project and submit pull requests with features or fixes.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].