At 07:36 AM 10/24/97 PDT, you wrote:
>Pardon my ignorance, but what does the ".db" command to anyway? I don't
think I have seen it mentioned in the "Online Zshell School" thing.
It's define byte, it can define 1 byte, like in
or it can be used to insert a string like
.db "42 is the answer!", 0
Wherever the .db appears, the bytes following it will be inserted.
You can use .db after your program's code to define text strings your prog
uses. If you use this in the middle of your program, the code before it
*must jump* past the strings, or else your prog will probably have serious
problems. This is also used to define bytes which are not part of the
program's code, but which the program has access to. When you do this it
is equivalent to defining variables in high level languages. .db for
chars, unsigned chars, and bools. .dw for ints, uints etc, and for floats,
stick with TI's scheme. Then you can use the multiplication and division
routines with the OP vars.
- A82: Re:
- From: email@example.com (Bennie R Copeland)