diff --git a/inc/Register.h b/inc/Register.h index 2f67a4c..0c0b972 100644 --- a/inc/Register.h +++ b/inc/Register.h @@ -79,9 +79,15 @@ namespace EightBit { return lhs.word <=> rhs.word; } #else + [[nodiscard]] constexpr inline auto operator!=(const register16_t lhs, const register16_t rhs) noexcept { return lhs.word != rhs.word; } + + [[nodiscard]] constexpr inline auto operator>(const register16_t lhs, const register16_t rhs) noexcept { + return lhs.word > rhs.word; + } + #endif [[nodiscard]] constexpr inline auto operator+(register16_t lhs, const register16_t rhs) noexcept {