diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-07-03 20:16:40 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-07-03 20:16:40 -0700 |
commit | 514c8de2a3574cd5b4084e406a3ff9718eec285c (patch) | |
tree | 61191aeaffa99de93f8b42e247291a74d6b09e17 /test/bcd.asm | |
parent | 63ebf1650c65bfb2e2dcda220fa411322d4d71bb (diff) | |
download | nasm-514c8de2a3574cd5b4084e406a3ff9718eec285c.tar.gz nasm-514c8de2a3574cd5b4084e406a3ff9718eec285c.tar.bz2 nasm-514c8de2a3574cd5b4084e406a3ff9718eec285c.zip |
test: simple test of packed BCD.
Diffstat (limited to 'test/bcd.asm')
-rw-r--r-- | test/bcd.asm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/bcd.asm b/test/bcd.asm new file mode 100644 index 0000000..bb45ca6 --- /dev/null +++ b/test/bcd.asm @@ -0,0 +1,21 @@ + dt 765432109876543210p + dt -765432109876543210p + dt +765432109876543210p + dt 123p + dt -456p + dt +789p + dt 98765432109876543210p + dt 123.0 + dt 0x123p+44 + dt 789p + + dt 0p765432109876543210 + dt -0p765432109876543210 + dt +0p765432109876543210 + dt 0p123 + dt -0p456 + dt +0p789 + dt 0p98765432109876543210 + dt 123.0 + dt 0x123p+44 + dt 0p789 |