Skip to content

Commit

Permalink
Assignment 6.2 and 6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
abatchy17 committed May 8, 2017
1 parent 911d672 commit ec02772
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Assignment 6.2/kill_all_processes.asm
@@ -0,0 +1,15 @@
section .text

global _start

_start:

; kill(-1, SIGKILL)

xor ebx, ebx
dec ebx
push byte 37
pop eax
push byte 9
pop ecx
int 0x80
7 changes: 7 additions & 0 deletions Assignment 6.3/exit_0.asm
@@ -0,0 +1,7 @@
global _start
_start:

xor eax, eax
inc eax
xor ebx, ebx
int 0x80

0 comments on commit ec02772

Please sign in to comment.