X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=test_src%2Fcli-hexdump.S;h=ce151b9cc4773a5b6d4cfdfb09f01450cf6eb462;hp=89767093fe4846ab040db29c1fdb1489168414e5;hb=997bf1010de28a0a7246b792254a1ec6a59d5d4d;hpb=f947a91725d102074386e84dc98d819d7f935611 diff --git a/test_src/cli-hexdump.S b/test_src/cli-hexdump.S index 8976709..ce151b9 100644 --- a/test_src/cli-hexdump.S +++ b/test_src/cli-hexdump.S @@ -182,7 +182,7 @@ cli_hexdump_block: brne 7f cp WIDTH, LENG_0 breq 6f - brmi 7f + brcs 7f mov r22, LENG_0 6: inc r4 7: @@ -190,7 +190,7 @@ cli_hexdump_block: add DATA_0, WIDTH adc DATA_1, r1 sub LENG_0, WIDTH - sbc LENG_0, r1 + sbc LENG_1, r1 tst r4 breq 2b pop r4