Reply by Jeff Brower May 6, 20082008-05-06
JZ-

> i have a 2k x 8bit dpram in 5402's io space,now my
> problem is how to access the 2k io space continue in
> accembly.
> read through the user guide of c5x instruction, it
> seemed that the io space can only be access by a
> single address, ex:
> port( PA) = Smem
>
> port(7h) = @OUTDAT ; OUTDAT .equ 07h
> the PA is a immediatly value.
>
> how can i access a continue io address?

http://focus.ti.com/lit/an/spra507/spra507.pdf

This doc uses a "self modifying code" method.

-Jeff
Reply by May 5, 20082008-05-05
i have a 2k x 8bit dpram in 5402's io space,now my
problem is how to access the 2k io space continue in
accembly.
read through the user guide of c5x instruction, it
seemed that the io space can only be access by a
single address, ex:
port( PA) = Smem

port(7h) = @OUTDAT ; OUTDAT .equ 07h
the PA is a immediatly value.

how can i access a continue io address?
thanks!