Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Xbyak::Segment Class Reference

#include <xbyak.h>

Public Types

enum  {
  es , cs , ss , ds ,
  fs , gs
}
 

Public Member Functions

 Segment (int idx)
 
int getIdx () const
 
const char * toString () const
 

Detailed Description

Definition at line 672 of file xbyak.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
es 
cs 
ss 
ds 
fs 
gs 

Definition at line 675 of file xbyak.h.

675 {
676 es, cs, ss, ds, fs, gs
677 };

Constructor & Destructor Documentation

◆ Segment()

Xbyak::Segment::Segment ( int idx)
inlineexplicit

Definition at line 678 of file xbyak.h.

678: idx_(idx) { assert(0 <= idx_ && idx_ < 6); }

Member Function Documentation

◆ getIdx()

int Xbyak::Segment::getIdx ( ) const
inline

Definition at line 679 of file xbyak.h.

679{ return idx_; }
Here is the caller graph for this function:

◆ toString()

const char * Xbyak::Segment::toString ( ) const
inline

Definition at line 680 of file xbyak.h.

681 {
682 static const char tbl[][3] = {
683 "es", "cs", "ss", "ds", "fs", "gs"
684 };
685 return tbl[idx_];
686 }
const struct Ptn tbl[]

The documentation for this class was generated from the following file: