NASM Forum > Programming with NASM

blsi

(1/2) > >>

suncowiam:
Hi,

I see BLSI listed in the following document:
https://redirect.cs.umbc.edu/~chang/cs313.s13/nasmdoc/nasmdoc.pdf

However, when I try to compile an asm file with blsi op, I get the following:
blsi.asm:15: error: parser: instruction expected

The line:
    blsi rax, rbx

Am I missing something or nasm doesn't support this instruction?

Thanks

debs3759:

--- Quote from: suncowiam on September 22, 2023, 09:52:01 PM ---Hi,

I see BLSI listed in the following document:
https://redirect.cs.umbc.edu/~chang/cs313.s13/nasmdoc/nasmdoc.pdf

However, when I try to compile an asm file with blsi op, I get the following:
blsi.asm:15: error: parser: instruction expected

The line:
    blsi rax, rbx

Am I missing something or nasm doesn't support this instruction?

Thanks

--- End quote ---

It's listed as a future opcode, so isn't supported yet. I don't know which processor family supports (or will support) it, so you may need to wait a while for someone to add the BM11 and BM12 instruction sets.

Frank Kotler:

--- Code: ---bits 64
blsi eax, ebx

--- End code ---
...seems to work...
?
Hi Debs...?

Best,
Frank

Frank Kotler:
I should mention version!
2.14.02

Best,
Frank

debs3759:

--- Quote from: Frank Kotler on September 22, 2023, 10:56:54 PM ---
--- Code: ---bits 64
blsi eax, ebx

--- End code ---
...seems to work...
?
Hi Debs...?

Best,
Frank

--- End quote ---

Ah, the linked version of the manual is version 2.10.04, so maybe the instructions were added since then. I haven't looked at programming manuals for quite some time, and most code I've written will run of a 386 or 486. I really need to do some more coding, and learn how to use more than basic x86 instructions :)

Navigation

[0] Message Index

[#] Next page

Go to full version