nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
nk::Instruction Struct Reference

Static Public Member Functions

static Instruction make_abcde (OpCode op, uint8_t a, uint8_t b, uint8_t c, int16_t d, uint8_t e)
static Instruction make_abc (OpCode op, uint8_t a, uint8_t b, uint8_t c)
static Instruction make_abd (OpCode op, uint8_t a, uint8_t b, int16_t d)
static Instruction make_ad (OpCode op, uint8_t a, int16_t d)
static Instruction make_a (OpCode op, uint8_t a)
static Instruction make_d (OpCode op, int16_t d)
static Instruction make_none (OpCode op)

Public Attributes

OpCode op
uint8_t a
uint8_t b
uint8_t c
int16_t d
uint8_t e

Detailed Description

Definition at line 279 of file bytecode.hpp.

Constructor & Destructor Documentation

◆ Instruction()

nk::Instruction::Instruction ( )
inline

Definition at line 288 of file bytecode.hpp.

Member Function Documentation

◆ make_a()

Instruction nk::Instruction::make_a ( OpCode op,
uint8_t a )
inlinestatic

Definition at line 334 of file bytecode.hpp.

◆ make_abc()

Instruction nk::Instruction::make_abc ( OpCode op,
uint8_t a,
uint8_t b,
uint8_t c )
inlinestatic

Definition at line 308 of file bytecode.hpp.

◆ make_abcde()

Instruction nk::Instruction::make_abcde ( OpCode op,
uint8_t a,
uint8_t b,
uint8_t c,
int16_t d,
uint8_t e )
inlinestatic

Definition at line 297 of file bytecode.hpp.

◆ make_abd()

Instruction nk::Instruction::make_abd ( OpCode op,
uint8_t a,
uint8_t b,
int16_t d )
inlinestatic

Definition at line 317 of file bytecode.hpp.

◆ make_ad()

Instruction nk::Instruction::make_ad ( OpCode op,
uint8_t a,
int16_t d )
inlinestatic

Definition at line 326 of file bytecode.hpp.

◆ make_d()

Instruction nk::Instruction::make_d ( OpCode op,
int16_t d )
inlinestatic

Definition at line 341 of file bytecode.hpp.

◆ make_none()

Instruction nk::Instruction::make_none ( OpCode op)
inlinestatic

Definition at line 348 of file bytecode.hpp.

Member Data Documentation

◆ a

uint8_t nk::Instruction::a

Definition at line 282 of file bytecode.hpp.

◆ b

uint8_t nk::Instruction::b

Definition at line 283 of file bytecode.hpp.

◆ c

uint8_t nk::Instruction::c

Definition at line 284 of file bytecode.hpp.

◆ d

int16_t nk::Instruction::d

Definition at line 285 of file bytecode.hpp.

◆ e

uint8_t nk::Instruction::e

Definition at line 286 of file bytecode.hpp.

◆ op

OpCode nk::Instruction::op

Definition at line 281 of file bytecode.hpp.


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