test: simple test of packed BCD.

This commit is contained in:
H. Peter Anvin 2008-07-03 20:16:40 -07:00
parent 63ebf1650c
commit 514c8de2a3

21
test/bcd.asm Normal file
View File

@ -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