osom_encoders_x86_64/encoders/sysenter.rs
1//! This module contains the encoders for the `sysenter` instruction group.
2#![allow(unused_imports)]
3
4// ** This file is automatically generated from x86.yaml schema. Do not modify! **
5
6use crate::models::{
7 EncodedX86_64Instruction, GPR, GPROrMemory, Immediate8, Immediate16, Immediate32, Immediate64, Memory, Offset,
8 Scale, Size,
9};
10
11/// Fast call to privilege level 0 system procedures.
12///
13/// # Safety
14///
15/// This function is safe to call. It is marked as unsafe for consistency with other encoders.
16#[inline]
17pub const unsafe fn encode() -> EncodedX86_64Instruction {
18 unsafe { crate::partial_encoders::zo::encode([0x0F, 0x34]) }
19}