![]() |
ArkScript
A small, fast, functional and scripting language for video games
|
#include <Word.hpp>
Public Member Functions | |
Word (const uint8_t inst, const uint16_t arg=0) | |
Word (const uint8_t inst, const uint16_t primary_arg, const uint16_t secondary_arg) | |
Construct a word with two arguments, each on 12 bits. It's up to the caller to ensure that no data is lost. | |
Public Attributes | |
uint8_t | opcode = 0 |
Instruction opcode. | |
uint8_t | byte_1 = 0 |
uint8_t | byte_2 = 0 |
uint8_t | byte_3 = 0 |
|
inlineexplicit |
|
inline |
uint8_t Ark::internal::Word::byte_1 = 0 |
Definition at line 20 of file Word.hpp.
Referenced by Ark::internal::IRCompiler::pushWord(), and Word().
uint8_t Ark::internal::Word::byte_2 = 0 |
Definition at line 21 of file Word.hpp.
Referenced by Ark::internal::IRCompiler::pushWord(), and Word().
uint8_t Ark::internal::Word::byte_3 = 0 |
Definition at line 22 of file Word.hpp.
Referenced by Ark::internal::IRCompiler::pushWord(), and Word().
uint8_t Ark::internal::Word::opcode = 0 |
Instruction opcode.
Definition at line 19 of file Word.hpp.
Referenced by Ark::internal::IRCompiler::pushWord().