Assembly Listing?

Discussion about other targets
alvin
Well known member
Posts: 1872
Joined: Mon Jul 16, 2007 7:39 pm

Post by alvin »

zcc +zmc -a helloworld.c
Add the optimization level you're using for the compiles there too. I know you added some defaults to your cfg file so maybe you don't have to but a complete line without that would be:

zcc +zmc -vn -a -SO3 -clib=sdcc_iy --max-allocs-per-node200000 helloworld.c
bill2009
Member
Posts: 28
Joined: Wed Jan 06, 2016 2:16 pm

Post by bill2009 »

Progress: The socket[1] and [2] work, [0] still shows -1. I'll look at the code tomorrow.

Thanks a bunch for the i/o sfr stuff that will save time for me and for the cpu!

UPDATE: I don't know what was going on yesterday but it's ok today. I had figured the initializers would be ok because it's all pointers to constants but moving the initialization into main certainly worked.

Thanks again.
Last edited by bill2009 on Fri Feb 12, 2016 4:32 pm, edited 1 time in total.
Post Reply