BT opcode...

Peter Johnson peter at tortall.net
Sat Jun 12 22:47:19 PDT 2004


I've not checked this, but all you probably need to do is specify a size,
e.g. "bt dword [rax], 1" or "bt [rax], dword 1".  With just a memory
reference and an immediate value, YASM has no way to infer the data size.

Peter

On Wed, 9 Jun 2004, Ben Skeggs wrote:

> YASM appears to be missing the encoding for the AMD64 instruction
>
> bt [rax],1
>
> Other AMD64 encodings, like:
>     bt rax,rbx
>     bt [rax],rbx
>     bt rax,1
> Appear to be fine, well according to a disassembly from objdump anyway.
>
> Ben Skeggs
>
>
>
>
>
>
> _______________________________________________
> bug-yasm mailing list
> bug-yasm at tortall.net
> http://cvs.tortall.net/mailman/listinfo/bug-yasm
>


More information about the bug-yasm mailing list