[A83] Re: Help with ".db"s
[Prev][Next][Index][Thread]
[A83] Re: Help with ".db"s
.db instructions aren't really instructions, they simply allocate a byte in
memory for the following data. The z80 processor does not know the
difference between data and code. It is up to the program to make sure data
never gets executed... for example you wouldn't want to do:
jp sprite
....
sprite:
.db %1111000
.db %1111000
.db %1111000
.db %1111000
.db %0000111
.db %0000111
.db %0000111
.db %0000111
So all you really are asking is how to insert extra bytes into a program?
you can do this a number of ways... look up the romcalls insertmem or
editprog.
Brandon Sterner
----- Original Message -----
From: "Jimmy Pardey" <j_pardey@hotmail.com>
To: <assembly-83@lists.ticalc.org>
Sent: Tuesday, May 21, 2002 12:23 AM
Subject: [A83] Help with ".db"s
>
>
>
> Hello, is therte any programs to quickly insert .db's into a file, as I
want
> to make a program creating program? And for my other question, I see it is
> probably nearly impossible, so I shall simply include a graph redraw flag
> set prog.
>
> Jimmy Pardey
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
>
References: