allow dst to be used to increment by 2, 4 or 8

main
eiowlta 2023-07-20 16:51:37 +03:00
parent 4bedaa9028
commit e734528c26
1 changed files with 1 additions and 1 deletions

View File

@ -835,7 +835,7 @@ static void vm_skipparam(vm_t *vm, uint32_t size, uint8_t prtype) {
VM_PRELUDE_1(_size); \
_type v = _vm_source_stay(vm, instr.source); \
_type x; \
bool carry = _oper(v, 1, &x); \
bool carry = _oper(v, 1 << instr.target, &x); \
_vm_target(vm, instr.source, x); \
vm->flag_carry = carry; \
vm->flag_zero = x == 0; \