•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Assembly section within the Software Development category of DaniWeb, a massive community of 391,684 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,247 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Assembly advertiser:
Views: 496 | Replies: 1
![]() |
•
•
Join Date: Jun 2008
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
Hello!
I'm a newbie in assembly and i'm facing some difficulties with handling 64 bit integers in pcSpim.
What i am trying to do is read a string, convert it to a 64-bit number and then store it in two 32-bit registers.
Should i create a 'for' loop which reads the characters of the string one-by-one and somehow stores the first 32 bits in the first register and the 32 bits left in the other one??
And what about the convertion?
I guess i should also check for errors, like dealing with numbers of length greater than 64 bits etc...
Thanks in advance for any help you could provide me and sorry for the messy writing
I'm a newbie in assembly and i'm facing some difficulties with handling 64 bit integers in pcSpim.
What i am trying to do is read a string, convert it to a 64-bit number and then store it in two 32-bit registers.
Should i create a 'for' loop which reads the characters of the string one-by-one and somehow stores the first 32 bits in the first register and the 32 bits left in the other one??
And what about the convertion?
I guess i should also check for errors, like dealing with numbers of length greater than 64 bits etc...
Thanks in advance for any help you could provide me and sorry for the messy writing
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Assembly Marketplace
Similar Threads
- Converting a Long Long to a Char Buff (C)
- Tutorial: Handling Dates and Time in Delphi (Pascal and Delphi)
Other Threads in the Assembly Forum
- Previous Thread: newb to low level assembly, need help
- Next Thread: PIC Basic programming with RF modules



Linear Mode