Re: [cc65] First steps

Date view Thread view Subject view

From: Mike McCarty (jmccarty_at_ssd.usa.alcatel.com)
Date: 2001-01-02 18:41:15


On Sat, 30 Dec 2000, troy silvey wrote:

> A quick question. Is it possible to access the 
> contents of a memory location directly in C
> with out using variables and pointers?
> I havn't found this mentioned in my stack of
> C books. Some thing similar to the asm
> instructions like sta $d000?
> Still much to learn about C.....

	*(char *)0xD000 = <some expression>

Mike

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:37 CET