assembly this
what is assembly ?
basicly its a programming language like any other one BUT
if you know computers or know programming... your function is made out of
some instructions like maybe (c = a + b) or some thing like that right ?
assembly is the same but to write the same c = a + b you have to consider
talking to the cpu it self and tell it some thing like that
instruction 0 : i want you to get the value of "a"
instruction 1 : now get me the value of "b"
instruction 2 : add both values together
instruction 3 : store the result in "c"
or some thing like that so its really going to make your code much longer
but with much more details and you may be clever enough that you make your
program faster than the same one made with other languages like python Java
and C++ {fun fact C++ contain assembly code in it if you want to use it}
why use assembly ?
for fun.... yeah thats the only reason you may want to do it
making efficient programs with it is easy but time consuming
or if you want to make your own operating system / bootloader
but for me its fun :)
also here is example code for that c = a + b {instructions part}
mov eax,dword ptr [a] ;load the value of (a) in register called (eax)
add eax,dword ptr [b] ;add the value of (b) to the same register
mov dword ptr [c],eax ;put the value of the register (eax) into the variable (c)
and here we have it! Thanks for reading :)