17 return ((indirect_flag >> (operand_index * 2 + 1)) & 1) != 0;
29 return ((indirect_flag >> (operand_index * 2)) & 1) != 0;
bool is_operand_relative(uint16_t indirect_flag, size_t operand_index)
Checks if the operand at the given index is relative.
bool is_operand_indirect(uint16_t indirect_flag, size_t operand_index)
Checks if the operand at the given index is indirect.