I have checked the generated code of indirect addressing ld/ldw instructions, 
and find no error. The only way remains is that make c code work first and then 
make a contract with your own asm code.

Actually, there is no difference between c and asm while using a pointer 
variable.
1. It is also a variable, you need to initialze it with a common variable's 
address;
2. Access it via either direct addresing ld/ldw or indirect addressing ld/ldw;
3. Increase / decrease the pointer variable (not the common variable it points 
to) in a loop

Ben 


------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to