Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I interpret the pointer reference graph in the assembler list file?

0
Posted

How do I interpret the pointer reference graph in the assembler list file?

0

The pointer reference graph is shown in the assembly list file for compiler versions 9.70 and above. This graph shows every pointer in your program, along with each target the pointer can reference. Here is an example. The numbers on the left are just the line numbers in the file and have no other meaning. 433 ;Pointer list with targets: 434 ;task_st_tab const PTR FTN()void [8][4] size(1); Largest target is 0 435 ; -> ctrl_s0(), ctrl_s1(), null_funct(), 436 ; -> inpSWITCH_s0(), inpSWITCH_s1(), 437 ; -> inpSWITCH_s2(), inpSWITCH_s3(), 438 ; -> inpSWITCH_s4(), inpADC_s0(), 439 ; -> inpADC_s1(), outLEDS_s0(), outLEDS_s1(), 440 ;task_ptr PTR struct task_def size(1); Largest target is 36 441 ; -> task(BANK0[36]), 442 ;timer_intr@req_ptr PTR unsigned char size(1); Largest target is 1 443 ; -> task.ctrl(BANK0[1]), 444 ;timer_intr@task_tmr_cnt_ptr PTR unsigned int size(1); Largest target is 2 445 ; -> task.timer_count(BANK0[2]), The top line shows the pointers name, and type. The size of the p

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123