bits ASM instruction

Programming, for all ages and all languages.
Post Reply
Guest

bits ASM instruction

Post by Guest »

Does anyone know what this asm instruction does?

Code: Select all

bits %ireq, 15
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:bits ASM instruction

Post by Solar »

AT&T or NASM?

Hmmm... no such opcode in either the Pentium manuals or Art of Assembly... no such thing in the NASM or GAS manuals either... where did you find it?
Every good solution is obvious once you've found it.
Guest

Re:bits ASM instruction

Post by Guest »

found it in some PowerPC code. But couldnt find anything in that manual either.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:bits ASM instruction

Post by Solar »

Telling that it's PPC code beforehand could have helped. :D

Nah, I come up empty too. My google-foo is weak today. What does that opcode disassemble into? That might be different, and give a hint...
Every good solution is obvious once you've found it.
Kemp

Re:bits ASM instruction

Post by Kemp »

Could it be roughly equivalent to the Intel BTS instruction?
Post Reply