1. Occupation of software components
1. Occupation of software components
1.1. descrption
You must compile the program to view the usage of software components.
The software component occupancy table allows you to view which software components are used in the program and in what form. It also helps identify duplicate assignment errors.
| Using symbols | description |
|---|
This software component is used as a bit.
| W | This software component is used as a single word. |
| D | This software component is used as a doubleword. |
| F | This software component is used as a floating point. |
1.2. Example 1: Checking input signal usage
Select the filter 'Input Signal X' to view all input signals (X) used.
图1 Input signal occupancy
The table has a total of 8 columns because the address of X is in base 8.
In addition to the input signal X and output signal Y, if it is a decimal address, the table will be formatted in 10 columns.
1.3. Example 2: Identifying duplicate assignment errors
This example program performs repeated memory assignment on D0.
图2 Error Program
Check the byte usage table to identify incorrect assignments. Because double characters require 4 bytes, there should be 2 adjacent Ds in line D0.
图3 Error check