diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-01-01 19:31:12 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-01-01 19:31:12 +0100 |
commit | 69fe7b182a1eedfb75c611f7dd35fa60200426f4 (patch) | |
tree | 329a0c6cc9b06c23d8782ece09f0f7dfa9b16b13 /miniasm/test6.asm | |
download | compilertests-69fe7b182a1eedfb75c611f7dd35fa60200426f4.tar.gz compilertests-69fe7b182a1eedfb75c611f7dd35fa60200426f4.tar.bz2 |
initial checkin
Diffstat (limited to 'miniasm/test6.asm')
-rw-r--r-- | miniasm/test6.asm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/miniasm/test6.asm b/miniasm/test6.asm new file mode 100644 index 0000000..e452ec2 --- /dev/null +++ b/miniasm/test6.asm @@ -0,0 +1,12 @@ +; test6 - loop + +first: + mov ax, 10 + mov bx, 0 +loop: + add bx, 1 + cmp ax, bx + jne loop + +end: + hlt |