My example is not accurate, just to show if we can utilize the indirect addressing mode in instructions.





在2014年06月17 20时18分,"Philipp Klaus Krause"<pkk@spth.de>写道:

On 16.06.2014 08:44, Bin Shi wrote:
> Philipp,  
>
> Do you think it is necessary to import new peephole rules  which can simplify
>
> ld x, 1234
> ld (x), y
>
> to
>
> ld [1234], y

I don't see a

ldw [longptr.w], y instruction in the maunal.

Philipp


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
sdcc-devel mailing list
sdcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-devel