Whoops: the bit instruction *can* have its return value discarded...

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon 2018-11-29 00:14:44 +00:00
parent 9960ad6012
commit e80a5bfcd4

View File

@ -359,7 +359,7 @@ namespace EightBit {
[[nodiscard]] uint8_t sll(uint8_t operand);
[[nodiscard]] uint8_t srl(uint8_t operand);
[[nodiscard]] uint8_t bit(int n, uint8_t operand);
uint8_t bit(int n, uint8_t operand);
[[nodiscard]] static uint8_t res(int n, uint8_t operand);
[[nodiscard]] static uint8_t set(int n, uint8_t operand);