Registry Mirror
Skip to content

Missing x86 mnemonics and registers (self-hosted backend encoder) #19773

Closed

Description

@Arnau478

There are some assembly instruction mnemonics missing on the x86 backend, specially some CPL0 instructions like cli, sti, wrmsr, rdmsr, hlt, ltr, lidt, iretq, hlt... There are some registers missing too, namely the control registers (cr0, cr2, and so on).

Activity

  1. changed the title [-]Implement every x86 mnemonic and register for the self-hosted backend encoder[/-] [+]Missing x86 mnemonics and registers (self-hosted backend encoder)[/+] on May 23, 2024
  2. added
    enhancement
    arch-x86_64
    on May 29, 2024
  3. added this to the 0.14.0 milestone on May 29, 2024
  4. sfiedler0 commented on May 31, 2024

    @sfiedler0
    Contributor

    The int mnemonic is missing too…

    It throws an interrupt (for example int $1) and can be really good for testing interrupt handlers in the kernel. So it would be nice if that could be implemented.

    I just noticed, inb and outb (and as far as I can see all other ins and outs) are missing, so debug logging to UART does not work.

  5. added 2 commits that reference this issue on Jan 18, 2025
    4a77cd4
    ade8651
  6. added a commit that references this issue on Jan 19, 2025
    8ee80d6
  7. added a commit that references this issue on Jan 27, 2025
    6f599d2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-x86_64backend-self-hostedenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions