Assembly nasm x32 assigment project of two parts1- ONE PART
FIVE math funtions in assembly nasmx32
make question to aks for a number or numbers
make the main method where you are going to call the 5 funtions or the printing method
make the five math fuctions out of the main method, (those are optionals not need to be that hard can be simple operations)
in this assigment you can use push and stuck
for example:
inputs:
introduce a number
main:
calling the funtions..
the result is …
funtions:
Square Function: f(x) = x2
Cube Function: f(x) = x3
Square Root Function: f(x) = √x.
Absolute Value Function: f(x) = |x|
Reciprocal Function. f(x) = 1/x.
please follow this style of coding this is just and example for compiling
style nasm
%include “asm_io.inc”
segment .data
….
….
….
….
segment .bss
….
…
….
section .text
global asm_main
asm_main:
….
….
…
….
..
functions
…
….
….
…
popa
mov eax, 0
leave
ret
2-SECOND PART
Develop an infector virus to run in Linux (no payload/timebomb is required) I am using linux ubuntu 32 bit
Follow the Link: https://cranklin.wordpress.com/2016/12/26/how-to-create-a-virus-using-the-assembly-language/
make sure its using the infector or injector and the wrapper part payload not required (its up to you)
Make steps for making it myself but do not use same as the tutorial change your own style and variables
try to use nasm assembly and keep it that style
three parts:
infector
wrapper
pay loadÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ[A.ASM]ÄÄÄ
; /* —————————————————
; | |
; | >>> Dr keesh