#Strings in C
Hmm. Maybe I can return your favor. 🙂
>> How do I define in C (using DICE) the string which in assembler is:
>> dc.b $9b,"0 p",0
I'm not too sure about #defining it (or about DICE, as I use TurboC++),
but if you were using an array, you might try:
char string[] = { '\0x9b',"0 p",'\0' };
(Or char *string; whatever suits you better.)
I suppose it wouldn't hurt to try this, though:
#define STRING { '\0x9b',"0 p",'\0'}
Or, you could create the aforementioned array and just do this:
#define STRING *string
Hope it helps.
– Jim, on AutoPilot!