Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liam-middlebrook/x86-playground
A playground of different x86 assembly files.
https://github.com/liam-middlebrook/x86-playground
Last synced: 17 days ago
JSON representation
A playground of different x86 assembly files.
- Host: GitHub
- URL: https://github.com/liam-middlebrook/x86-playground
- Owner: liam-middlebrook
- License: mit
- Created: 2014-07-22T00:59:14.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-07-22T03:56:57.000Z (over 10 years ago)
- Last Synced: 2023-08-04T22:11:59.701Z (over 1 year ago)
- Language: Assembly
- Size: 148 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
x86-playground
==============A playground of different x86 assembly files.
For right now until I have the time to get nasm set up with a nice makefile
I'm going to be using http://www.compileonline.com/compile_assembly_online.phpThrough CompileOnline the default assembly file I get looks like this:
```x86section .text
global _start ;must be declared for using gcc_start: ;tell linker entry point
mov edx, len ;message length
mov ecx, msg ;message to write
mov ebx, 1 ;file descriptor (stdout)
mov eax, 4 ;system call number (sys_write)
int 0x80 ;call kernelmov eax, 1 ;system call number (sys_exit)
int 0x80 ;call kernelsection .data
msg db 'Hello, world!',0xa ;our dear string
len equ $ - msg ;length of our dear string```