public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Defined illegal instruction
@ 2024-02-09 17:03 jacob navia
  2024-02-09 17:21 ` Peter Bergner
  0 siblings, 1 reply; 8+ messages in thread
From: jacob navia @ 2024-02-09 17:03 UTC (permalink / raw)
  To: binutils

The riscv processor defines an illegal instruction (all zeroes). I do not find the mnemonic used by gas for this. As far as I remember, the x86 also has a defined illegal instruction.

I find an instruction called « unimp » . It generates something else (an attempt to write into a read only special register). Is that the « defined illegal instruction » for risk?

Thanks for any answers

Jacob


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-02-13  9:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-09 17:03 Defined illegal instruction jacob navia
2024-02-09 17:21 ` Peter Bergner
2024-02-10  0:03   ` Andrew Waterman
2024-02-10 12:56     ` jacob navia
2024-02-11  0:50       ` Andrew Waterman
2024-02-12  7:29       ` Jan Beulich
     [not found]         ` <C47C292B-6017-4D1C-BEEC-E4D9D88BBD8E@jacob.remcomp.fr>
2024-02-13  7:20           ` Jan Beulich
2024-02-13  9:05             ` jacob navia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).