#include <Word.hpp>
|
| | 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.
|
| |
| | Word (const uint8_t inst, const uint8_t one, const uint8_t two, const uint8_t three) |
| |
Definition at line 18 of file Word.hpp.
◆ Word() [1/3]
| Ark::internal::Word::Word |
( |
const uint8_t | inst, |
|
|
const uint16_t | arg = 0 ) |
|
inlineexplicit |
◆ Word() [2/3]
| Ark::internal::Word::Word |
( |
const uint8_t | inst, |
|
|
const uint16_t | primary_arg, |
|
|
const uint16_t | secondary_arg ) |
|
inline |
Construct a word with two arguments, each on 12 bits. It's up to the caller to ensure that no data is lost.
- Parameters
-
| inst | |
| primary_arg | argument on 12 bits, the upper 4 bits are lost |
| secondary_arg | 2nd argument on 12 bits, the upper 4 bits are lost |
Definition at line 35 of file Word.hpp.
References byte_1, byte_2, and byte_3.
◆ Word() [3/3]
| Ark::internal::Word::Word |
( |
const uint8_t | inst, |
|
|
const uint8_t | one, |
|
|
const uint8_t | two, |
|
|
const uint8_t | three ) |
|
inline |
◆ byte_1
| uint8_t Ark::internal::Word::byte_1 = 0 |
◆ byte_2
| uint8_t Ark::internal::Word::byte_2 = 0 |
◆ byte_3
| uint8_t Ark::internal::Word::byte_3 = 0 |
◆ opcode
| uint8_t Ark::internal::Word::opcode = 0 |
The documentation for this struct was generated from the following file:
- /Users/fola/Documents/ArkScript/Ark/include/Ark/Compiler/IntermediateRepresentation/Word.hpp