Re: A86: i'm writing a z80 assembler in java and need your help


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

Re: A86: i'm writing a z80 assembler in java and need your help




Adler wrote:
>  LD A,(1234)
> would the object code be:
> 3A1234 or 3A3412 or something else? It it the same for all commands?

It would be 3A3412.  The z80 stores 16-bit values in 'little-endian' format, or
LSB first.

> In other news, can someone tell me how to convert TASM output to .86p? Dont
> tell me a program, I want source or info. Also, i dont have a PC so i can't
> figure out this stuff on my own.

Well, the .85p file format is described in
http://www.ticalc.org/pub/text/calcinfo/formats.zip.  To change this to 86p,
just replace the **TI85** header with **TI86**.  The TASM .obj file, with
$8E,$28 tacked onto the beginning, is placed where the program data goes.
That came out more confusing than I'd hoped ;)  If you have any questions, let
me know.
-- 
Dark Ryder
ICQ#:     8189903
E-Mail:   DarkRyder@cyberdude.com

Happiness is inversely proportional to how much you want to upgrade your
computer.

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/CC/ED/IT/M/MU/P/S/O/AT (!)d-? s++(+):+(++) a?--- C++++$
UB>L+++ P L>+++ E- W+++$ !N o? K- w(---)$ !O M(+)(-) V?
PS+(+++) PE-- Y PGP t*+(+++) 5++ X+ R*+++ tv b+++ DI++++
D++ G++>++++ e*>+++++ h!>++ r-(+) y**++
------END GEEK CODE BLOCK------


References: