Hi there,
I am to write a simple text-based snake game in Assembly. In this game, a snake gets bigger every time it eats fruit. The game ends if the snake hits wall or itself.
I've never had experience in writing game programs. If anybody knows, please five me a hint or point me to somewhere...
Hi,
I have a 64-bit number stored in a variable called "num".
I try to convert it to another base, i.e hex. But when I stored the 64-bit in EDX:EAX and divide bay EBX (which is 16) to get the remainder (stored in EDX), the quotient is too big to fit in EAX. I think there could be a way...
Hi,
I am to take an input from user. Then, I need to convert that Ascii string to a 64-bit integer. I can do this with 32-bit, but I have no idea how to do it in 64-bit.
Anybody know, please give me a hint. Thanks a lot.
Hi,
I am to write a program that can perform addition, subtraction, multiplication and division for 2 32-bit numbers.
It should ask user to input num1, num2 and the desired operation. Then it will calculate and print out the result.
The thing is, when I take user input, it's just a string of...
Hi fellas,
I have some in the text book "Assembly Language for INtel-based Computer" 4th ed.
Page 127
.data
myDoubles DWORD 1,2,3,4,5
myPointer DWORD myDoubles
So, can anybody know what the following codes will do:
.code
mov ax,WORD PTR [esi+2] ; AX=?
mov ax,WORD PTR [esi+6] ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.