mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-19 18:00:23 +08:00
test: simple test of packed BCD.
This commit is contained in:
parent
63ebf1650c
commit
514c8de2a3
21
test/bcd.asm
Normal file
21
test/bcd.asm
Normal 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
|
Loading…
x
Reference in New Issue
Block a user