diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-06-27 22:24:12 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-06-27 22:25:39 -0700 |
commit | 3c398ff301cb90f020ed04283c099b9e99146670 (patch) | |
tree | 8ef6a10f9c9269d8339afa581dd7daf259d730f6 /subx/teensy/test4.s | |
parent | 1d5d645be75691b535fe15e6be9d7855f62dc819 (diff) | |
download | mu-3c398ff301cb90f020ed04283c099b9e99146670.tar.gz |
4278 - load_elf() isn't actually working yet
Here's a few test binaries generated on 32-bit Linux.
Diffstat (limited to 'subx/teensy/test4.s')
-rw-r--r-- | subx/teensy/test4.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/subx/teensy/test4.s b/subx/teensy/test4.s new file mode 100644 index 00000000..c8866dfa --- /dev/null +++ b/subx/teensy/test4.s @@ -0,0 +1,10 @@ +; https://www.muppetlabs.com/~breadbox/software/tiny/teensy.html +; nasm -f elf test4.s +; gcc -Wall -s -nostdlib test4.o -o test4 +BITS 32 +GLOBAL _start +SECTION .text +_start: + mov eax, 1 + mov ebx, 42 + int 0x80 |