Ask your own question, for FREE!
Computer Science 8 Online
OpenStudy (anonymous):

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

OpenStudy (anonymous):

**... "print" this result t...

OpenStudy (osanseviero):

Sorry but i only know basic languages: python and c++, so i cant help you

OpenStudy (anonymous):

well its the most basic language, neariest language to machine language :D

OpenStudy (anonymous):

np anyway :D

OpenStudy (anonymous):

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)

OpenStudy (anonymous):

thanks man, :D ill examine them now oda later, i dunno if i sleep now :D

OpenStudy (anonymous):

well i don't think that its same in linux with windows :(

OpenStudy (anonymous):

i wont be, but the method i ts what i meant, u need to call interupts

OpenStudy (anonymous):

aha k :D thanks

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!