summaryrefslogtreecommitdiffhomepage
path: root/asm/intel64/trivials.h
blob: 2ec1b53f7d60ca30fbba98657f2711af437689b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Trivial Operations, without arguments

#pragma once

#include <asm/chunk.h>

// Copy Flags to AH
class Op_lahf: public OpSimple { public: Op_lahf(); };

// No Operation
class Op_nop: public OpSimple { public: Op_nop(); };

// Return from procedure
class Op_ret: public OpSimple { public: Op_ret(); };

// Syscall
class Op_syscall: public OpSimple { public: Op_syscall(); };

// Undefined Instruction, variant 2: with no operands
class Op_ud2: public OpSimple { public: Op_ud2(); };