Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. dukely

    Simple snake game

    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...
  2. dukely

    Convert 64-bit integer to another number base

    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...
  3. dukely

    convert AScii string to 64 bit integer

    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.
  4. dukely

    ASCII to decimals

    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...
  5. dukely

    Trcky indirect memory address

    Sorry fella, it's my fault ESI is set to: mov esi,myPointer IN other words, esi is now contains the offset of myDoubles. Thank you.
  6. dukely

    Trcky indirect memory address

    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] ...

Part and Inventory Search

Back
Top