guys, i want to code a too simple program which will add two integers that the user will enter, and will write it to screen in X86 Assembly language, I just started to work on it, and its hard :D last thing i code is what adds 2 variables and saves it in AL used that MOV AL,Number1, ADD AL,Number2 MOV result,AL... now i want to make user enter these numbers and want to pring this result to screen, How can i do it?? help plz
**... "print" this result t...
Sorry but i only know basic languages: python and c++, so i cant help you
well its the most basic language, neariest language to machine language :D
np anyway :D
in windows probably its the same as linux. In the later one u need to do a system call, its quite easy there its an already convetion to it, can find more here: http://bluemaster.iu.hio.no/edu/dark/lin-asm/syscalls.html http://www.csi.ucd.ie/staff/jcarthy/home/alp/alp2-3.html (this seems more for windows)
thanks man, :D ill examine them now oda later, i dunno if i sleep now :D
well i don't think that its same in linux with windows :(
i wont be, but the method i ts what i meant, u need to call interupts
aha k :D thanks
Join our real-time social learning platform and learn together with your friends!