February 21, 2002
Hi, Walter!

I've tried to use UD2 instruction (I want to generate exception to dump
registers), but got an error:
"Assembler opcode expected".

Opcode for UD2 is  '0F 0B' according to
Intel Architecture Software Developer's Manual Volume 2: Instruction Set
Reference (Order Number 243191)

It would be nice, if you implemented all instructions up to PPro (or may be up to PIII) in inline assemler.

                  Looking f orward for your answer,
                    Nic Tiger


February 22, 2002
There are actually two of those opcodes,
    db  0fh,00bh
    db  0fh,0b9h
You can insert whichever one you want with the db pseudo-op.
-Walter
"Nic Tiger" <nictiger@pt.comcor.ru> wrote in message
news:a53fd3$2cuv$1@digitaldaemon.com...
> Hi, Walter!
>
> I've tried to use UD2 instruction (I want to generate exception to dump
> registers), but got an error:
> "Assembler opcode expected".
>
> Opcode for UD2 is  '0F 0B' according to
> Intel Architecture Software Developer's Manual Volume 2: Instruction Set
> Reference (Order Number 243191)
>
> It would be nice, if you implemented all instructions up to PPro (or may
be
> up to PIII) in inline assemler.
>
>                   Looking f orward for your answer,
>                     Nic Tiger
>
>