Re: A86: syntax for various number bases
[Prev][Next][Index][Thread]
Re: A86: syntax for various number bases
i'm writing it on linux, yes, but since perl is a scripting language,
and there's a win32 port, it should be useable by anyone once i finish.
As for the octal, it probably isn't supported. octal is only used in
very obscure cases these days.
--robin
Chris Phelps wrote:
>
> Robin Kirkman wrote:
>
> > 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
>
> $ means hex if its at the start
> h means hex if its at the end
> % means binary if its at the start
> b means binary if its at the end
>
> Im not sure if octal is supported...
>
> Anyway, is this for linux or something like that?
>
> Later,
> Chicane
References: