Operations on 64bit words in 32bit system
Posted
by
Vilo
on Stack Overflow
See other posts from Stack Overflow
or by Vilo
Published on 2012-03-28T23:25:33Z
Indexed on
2012/03/28
23:31 UTC
Read the original article
Hit count: 157
I'm new here same as I'm new with assembly. I hope that you can help me to start. I'm using 32bit (i686) Ubuntu to make programs in assembly, using gcc compiler.
I know that general-purpose-registers are 32bit (4 bytes) max, but what when I have to operate on 64 bit numbers? Intel's instruction says that higher bits are stored in %edx and lower in %eax Great... So how can I do something with this 2-registers number? I have to convert 64bit dec to bin, then save it to memory and show on the screen.
How to make the 64bit quadword at start of the program in .data section?
© Stack Overflow or respective owner