Hello, I'm somewhat new to assembly language (took a class in college for programming a mac classic). I am interested in performing bitwise manipulation on QUAD Integer sized data in assembly language.
I'm running windows 7, 64 bit, and powerbasic 5.02. One of the functions I'd like to get working is BSF. It scans the register for the first nonzero bit and returns it. Currently I must load the 2 halves of the 64 bit integer and analyze them seperately and then decide which number I should return. It ends up being more complex than a simple BSF EAX, [EBX] instruction. I am completely unfamiliar with the MMX instructions and registers, but if those will do what I need, I'm all ears.
Thanks for the help,
Chris
I'm running windows 7, 64 bit, and powerbasic 5.02. One of the functions I'd like to get working is BSF. It scans the register for the first nonzero bit and returns it. Currently I must load the 2 halves of the 64 bit integer and analyze them seperately and then decide which number I should return. It ends up being more complex than a simple BSF EAX, [EBX] instruction. I am completely unfamiliar with the MMX instructions and registers, but if those will do what I need, I'm all ears.

Thanks for the help,
Chris
Comment