mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-12-23 15:29:24 +00:00
Whoops: the bit instruction *can* have its return value discarded...
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
parent
9960ad6012
commit
e80a5bfcd4
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user