public void resolveLabelPoint(int labelName, int address)
    {
        // Create the label with resolved address, if it does not already exist.
        WAMReservedLabel label = (WAMReservedLabel) symbolTable.get(labelName, SYMKEY_CALLPOINTS);

        if (label == null)
        {
            label = new WAMReservedLabel(labelName);
            symbolTable.put(labelName, SYMKEY_CALLPOINTS, label);
        }

        label.entryPoint = address;

        // Fill in all references to the label with the correct value. This does nothing if the label was just created.
        for (Integer offset : label.referenceList)
        {
            emmitCode(offset, label.entryPoint);
        }

        // Keep a reverse lookup from address to label name.
        reverseTable.put(address, labelName);
    }
public void resolveLabelPoint ( int labelName , int address ) { WAMReservedLabel label = ( WAMReservedLabel ) symbolTable . get ( labelName , SYMKEY_CALLPOINTS ) ; if ( label == null ) { label = new WAMReservedLabel ( labelName ) ; symbolTable . put ( labelName , SYMKEY_CALLPOINTS , label ) ; } label . entryPoint = address ; for ( Integer offset : label . referenceList ) { emmitCode ( offset , label . entryPoint ) ; } reverseTable . put ( address , labelName ) ; }
{@inheritDoc}