diff options
Diffstat (limited to 'subx')
-rwxr-xr-x | subx/teensy/test4 | bin | 368 -> 368 bytes | |||
-rw-r--r-- | subx/teensy/test4.s | 2 | ||||
-rwxr-xr-x | subx/teensy/test5 | bin | 99 -> 96 bytes | |||
-rw-r--r-- | subx/teensy/test5.s | 6 |
4 files changed, 2 insertions, 6 deletions
diff --git a/subx/teensy/test4 b/subx/teensy/test4 index 90e2f7a9..50be075e 100755 --- a/subx/teensy/test4 +++ b/subx/teensy/test4 Binary files differdiff --git a/subx/teensy/test4.s b/subx/teensy/test4.s index c8866dfa..3d7f7f62 100644 --- a/subx/teensy/test4.s +++ b/subx/teensy/test4.s @@ -5,6 +5,6 @@ BITS 32 GLOBAL _start SECTION .text _start: + mov ebx, 42 mov eax, 1 - mov ebx, 42 int 0x80 diff --git a/subx/teensy/test5 b/subx/teensy/test5 index a67a5299..4d2da664 100755 --- a/subx/teensy/test5 +++ b/subx/teensy/test5 Binary files differdiff --git a/subx/teensy/test5.s b/subx/teensy/test5.s index 54a79846..d549306b 100644 --- a/subx/teensy/test5.s +++ b/subx/teensy/test5.s @@ -36,11 +36,7 @@ phdrsize equ $ - phdr _start: mov ebx, 42 - xor eax, eax - ; add eax, 0x00000001 - db 0x81 ; op - db 0xc0 ; modr/m - dd 0x00000001 ; imm32 operand + mov eax, 1 int 0x80 filesize equ $ - $$ |