diff options
Diffstat (limited to 'sux.h')
-rw-r--r-- | sux.h | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -277,14 +277,6 @@ static inline uint64_t adc(struct sux *cpu, uint64_t reg, uint64_t value, uint8_ setflag((sum < value), C); return sum; } -static inline uint64_t sbc(struct sux *cpu, uint64_t reg, uint64_t value, uint8_t thread) { - uint64_t sum = reg-value-!getflag(C); - setflag(sum == 0, Z); - setflag(sum >> 63, N); - setflag(((reg^value) >> 63) && ((reg^sum) >> 63), V); - setflag((sum < value), C); - return sum; -} static inline uint64_t transfer(struct sux *cpu, uint64_t src, uint64_t value, uint8_t opcode, uint8_t prefix, uint8_t thread) { switch (opcode) { |