[A89] Re: Interrupts
[Prev][Next][Index][Thread]
[A89] Re: Interrupts
At 08:43 2002-04-12, you wrote:
>http://tict.ticalc.org/docs/J89hw.txt contains all the 89 HW info you want.
>I do ASM, no C so I just use move,and,or commands to set the ports. BTW, you
>can always read old mailing-list-posts on www.ticalc.org .
In TIGCC you most easily change ports with the peekIO and pokeIO macros.
You can use typecasts and just assign or and or or (no pun intended), but
if you don't know exactly what you do, there is a chance that the compiler
optimizes away your change.
and peekIO and pokeIO make the code easy to read too.
///Olle
Follow-Ups:
References: