diff options
author | David Phillips <david@sighup.nz> | 2019-08-11 17:22:20 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2019-08-11 17:22:20 +1200 |
commit | 2d2628df0001d2b643811dc69717c4afe70c4e31 (patch) | |
tree | f5d0da23c47c3e677ca423a91838c5ad5467a5d9 /test/full-pipeline/005-small-loop.asm | |
parent | 0e6f47211a0516cf2c96d2b9e89c0d841978c143 (diff) | |
download | toy-cpu-assembler-2d2628df0001d2b643811dc69717c4afe70c4e31.tar.xz |
Fix and add tests for NULL deref cases found by scan-build
Diffstat (limited to 'test/full-pipeline/005-small-loop.asm')
-rw-r--r-- | test/full-pipeline/005-small-loop.asm | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/full-pipeline/005-small-loop.asm b/test/full-pipeline/005-small-loop.asm deleted file mode 100644 index 5c47e51..0000000 --- a/test/full-pipeline/005-small-loop.asm +++ /dev/null @@ -1,7 +0,0 @@ -ldi $1, 2 -ldi $2, 20 -ldi $3, 0 -loop: - add $3, $3, $1 - subi $2, $2, 1 - bnz loop |