Re: A86: syntax for various number bases


[Prev][Next][Index][Thread]

Re: A86: syntax for various number bases




well, I don't know if TASM accepts octal, but

hex = $0FA3
or 0FA3h

bin = %00100101
or 00100101b

dec = 234

dunno about octal, sorry

-Diego
----Original Message Follows----
From: Robin Kirkman <misty@drrobin.yi.org>
Reply-To: assembly-86@lists.ticalc.org
To: assembly-86@lists.ticalc.org
Subject: A86: syntax for various number bases
Date: Sat, 02 Oct 1999 13:43:32 -0400


well, i'm the new guy again :)
i bet there's a jillion new asm tricks i've missid in the year and a
half i've been off this list.
anyways, i'm in the process of writing a z80 assembler in perl (i'm
nearly finished!) and i have only one thing left- number bases. I know
that at times it may be necessary to use hex, binary, or even octal, in
one's numbers. What i need to know is how each number base is specified
(i forgot).
thanks!
--robin


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com