@ -971,14 +971,14 @@ TQString Code::generateCode( PIC14 * pic ) const
uchar reg = pic - > gprStart ( ) ;
TQStringList : : const_iterator end = variables . end ( ) ;
for ( TQStringList : : const_iterator it = variables . begin ( ) ; it ! = end ; + + it )
code + = TQString ( " %1 \t equ \t 0x%2 \n " ) . arg( * it ) . arg( TQString : : number ( reg + + , 16 ) ) ;
code + = TQString ( " %1 \t equ \t 0x%2 \n " ) . tq arg( * it ) . tq arg( TQString : : number ( reg + + , 16 ) ) ;
code + = " \n " ;
}
TQString picString = pic - > minimalTypeString ( ) ;
code + = TQString ( " list p=%1 \n " ) . arg( picString ) ;
code + = TQString ( " include \" p%2.inc \" \n \n " ) . arg( picString . lower ( ) ) ;
code + = TQString ( " list p=%1 \n " ) . tq arg( picString ) ;
code + = TQString ( " include \" p%2.inc \" \n \n " ) . tq arg( picString . lower ( ) ) ;
code + = " ; Config options \n " ;
code + = " __config _WDT_OFF \n \n " ;
@ -1347,7 +1347,7 @@ void Instruction::clearLinks()
//BEGIN Byte-Oriented File Register Operations
TQString Instr_addwf : : code ( ) const
{
return TQString ( " addwf \t %1,%2 " ) . arg( m_file . name ( ) ) . arg( m_dest ) ;
return TQString ( " addwf \t %1,%2 " ) . tq arg( m_file . name ( ) ) . tq arg( m_dest ) ;
}
void Instr_addwf : : generateLinksAndStates ( Code : : iterator current )
@ -1400,7 +1400,7 @@ ProcessorBehaviour Instr_addwf::behaviour() const
TQString Instr_andwf : : code ( ) const
{
return TQString ( " andwf \t %1,%2 " ) . arg( m_file . name ( ) ) . arg( m_dest ) ;
return TQString ( " andwf \t %1,%2 " ) . tq arg( m_file . name ( ) ) . tq arg( m_dest ) ;
}
void Instr_andwf : : generateLinksAndStates ( Code : : iterator current )
@ -1434,7 +1434,7 @@ ProcessorBehaviour Instr_andwf::behaviour() const
TQString Instr_clrf : : code ( ) const
{
return TQString ( " clrf \t %1 " ) . arg( m_file . name ( ) ) ;
return TQString ( " clrf \t %1 " ) . tq arg( m_file . name ( ) ) ;
}
void Instr_clrf : : generateLinksAndStates ( Code : : iterator current )
@ -1468,7 +1468,7 @@ ProcessorBehaviour Instr_clrf::behaviour() const
TQString Instr_decf : : code ( ) const
{
return TQString ( " decf \t %1,%2 " ) . arg( m_file . name ( ) ) . arg( m_dest ) ;
return TQString ( " decf \t %1,%2 " ) . tq arg( m_file . name ( ) ) . tq arg( m_dest ) ;
}
void Instr_decf : : generateLinksAndStates ( Code : : iterator current )
@ -1496,7 +1496,7 @@ ProcessorBehaviour Instr_decf::behaviour() const
TQString Instr_decfsz : : code ( ) const
{
return TQString ( " decfsz \t %1,%2 " ) . arg( m_file . name ( ) ) . arg( m_dest ) ;
return TQString ( " decfsz \t %1,%2 " ) . tq arg( m_file . name ( ) ) . tq arg( m_dest ) ;
}
void Instr_decfsz : : generateLinksAndStates ( Code : : iterator current )
@ -1520,7 +1520,7 @@ ProcessorBehaviour Instr_decfsz::behaviour() const
TQString Instr_incf : : code ( ) const
{
return TQString ( " incf \t %1,%2 " ) . arg( m_file . name ( ) ) . arg( m_dest ) ;
return TQString ( " incf \t %1,%2 " ) . tq arg( m_file . name ( ) ) . tq arg( m_dest ) ;
}
void Instr_incf : : generateLinksAndStates ( Code : : iterator current )
@ -1550,7 +1550,7 @@ ProcessorBehaviour Instr_incf::behaviour() const
TQString Instr_iorwf : : code ( ) const
{
return TQString ( " iorwf \t %1,%2 " ) . arg( m_file . name ( ) ) . arg( m_dest ) ;
return TQString ( " iorwf \t %1,%2 " ) . tq arg( m_file . name ( ) ) . tq arg( m_dest ) ;
}
void Instr_iorwf : : generateLinksAndStates ( Code : : iterator current )
@ -1579,7 +1579,7 @@ ProcessorBehaviour Instr_iorwf::behaviour() const
TQString Instr_movf : : code ( ) const
{
return TQString ( " movf \t %1,%2 " ) . arg( m_file . name ( ) ) . arg( m_dest ) ;
return TQString ( " movf \t %1,%2 " ) . tq arg( m_file . name ( ) ) . tq arg( m_dest ) ;
}
void Instr_movf : : generateLinksAndStates ( Code : : iterator current )
@ -1625,7 +1625,7 @@ ProcessorBehaviour Instr_movf::behaviour() const
TQString Instr_movwf : : code ( ) const
{
return TQString ( " movwf \t %1 " ) . arg( m_file . name ( ) ) ;
return TQString ( " movwf \t %1 " ) . tq arg( m_file . name ( ) ) ;
}
void Instr_movwf : : generateLinksAndStates ( Code : : iterator current )
@ -1655,7 +1655,7 @@ ProcessorBehaviour Instr_movwf::behaviour() const
TQString Instr_rlf : : code ( ) const
{
return TQString ( " rlf \t %1,%2 " ) . arg( m_file . name ( ) ) . arg( m_dest ) ;
return TQString ( " rlf \t %1,%2 " ) . tq arg( m_file . name ( ) ) . tq arg( m_dest ) ;
}
void Instr_rlf : : generateLinksAndStates ( Code : : iterator current )
@ -1686,7 +1686,7 @@ ProcessorBehaviour Instr_rlf::behaviour() const
TQString Instr_rrf : : code ( ) const
{
return TQString ( " rrf \t %1,%2 " ) . arg( m_file . name ( ) ) . arg( m_dest ) ;
return TQString ( " rrf \t %1,%2 " ) . tq arg( m_file . name ( ) ) . tq arg( m_dest ) ;
}
void Instr_rrf : : generateLinksAndStates ( Code : : iterator current )
@ -1716,7 +1716,7 @@ ProcessorBehaviour Instr_rrf::behaviour() const
TQString Instr_subwf : : code ( ) const
{
return TQString ( " subwf \t %1,%2 " ) . arg( m_file . name ( ) ) . arg( m_dest ) ;
return TQString ( " subwf \t %1,%2 " ) . tq arg( m_file . name ( ) ) . tq arg( m_dest ) ;
}
void Instr_subwf : : generateLinksAndStates ( Code : : iterator current )
@ -1774,7 +1774,7 @@ ProcessorBehaviour Instr_subwf::behaviour() const
TQString Instr_swapf : : code ( ) const
{
return TQString ( " swapf \t %1,%2 " ) . arg( m_file . name ( ) ) . arg( m_dest ) ;
return TQString ( " swapf \t %1,%2 " ) . tq arg( m_file . name ( ) ) . tq arg( m_dest ) ;
}
void Instr_swapf : : generateLinksAndStates ( Code : : iterator current )
@ -1801,7 +1801,7 @@ ProcessorBehaviour Instr_swapf::behaviour() const
TQString Instr_xorwf : : code ( ) const
{
return TQString ( " xorwf \t %1,%2 " ) . arg( m_file . name ( ) ) . arg( m_dest ) ;
return TQString ( " xorwf \t %1,%2 " ) . tq arg( m_file . name ( ) ) . tq arg( m_dest ) ;
}
void Instr_xorwf : : generateLinksAndStates ( Code : : iterator current )
@ -1833,7 +1833,7 @@ ProcessorBehaviour Instr_xorwf::behaviour() const
//BEGIN Bit-Oriented File Register Operations
TQString Instr_bcf : : code ( ) const
{
return TQString ( " bcf \t \t %1,%2 " ) . arg( m_file . name ( ) ) . arg( m_bit . name ( ) ) ;
return TQString ( " bcf \t \t %1,%2 " ) . tq arg( m_file . name ( ) ) . tq arg( m_bit . name ( ) ) ;
}
void Instr_bcf : : generateLinksAndStates ( Code : : iterator current )
@ -1857,7 +1857,7 @@ ProcessorBehaviour Instr_bcf::behaviour() const
TQString Instr_bsf : : code ( ) const
{
return TQString ( " bsf \t \t %1,%2 " ) . arg( m_file . name ( ) ) . arg( m_bit . name ( ) ) ;
return TQString ( " bsf \t \t %1,%2 " ) . tq arg( m_file . name ( ) ) . tq arg( m_bit . name ( ) ) ;
}
void Instr_bsf : : generateLinksAndStates ( Code : : iterator current )
@ -1880,7 +1880,7 @@ ProcessorBehaviour Instr_bsf::behaviour() const
TQString Instr_btfsc : : code ( ) const
{
return TQString ( " btfsc \t %1,%2 " ) . arg( m_file . name ( ) ) . arg( m_bit . name ( ) ) ;
return TQString ( " btfsc \t %1,%2 " ) . tq arg( m_file . name ( ) ) . tq arg( m_bit . name ( ) ) ;
}
void Instr_btfsc : : generateLinksAndStates ( Code : : iterator current )
@ -1907,7 +1907,7 @@ ProcessorBehaviour Instr_btfsc::behaviour() const
TQString Instr_btfss : : code ( ) const
{
return TQString ( " btfss \t %1,%2 " ) . arg( m_file . name ( ) ) . arg( m_bit . name ( ) ) ;
return TQString ( " btfss \t %1,%2 " ) . tq arg( m_file . name ( ) ) . tq arg( m_bit . name ( ) ) ;
}
void Instr_btfss : : generateLinksAndStates ( Code : : iterator current )
@ -1937,7 +1937,7 @@ ProcessorBehaviour Instr_btfss::behaviour() const
//BEGIN Literal and Control Operations
TQString Instr_addlw : : code ( ) const
{
return TQString ( " addlw \t %1 " ) . arg( m_literal ) ;
return TQString ( " addlw \t %1 " ) . tq arg( m_literal ) ;
}
void Instr_addlw : : generateLinksAndStates ( Code : : iterator current )
@ -1964,7 +1964,7 @@ ProcessorBehaviour Instr_addlw::behaviour() const
TQString Instr_andlw : : code ( ) const
{
return TQString ( " andlw \t %1 " ) . arg( m_literal ) ;
return TQString ( " andlw \t %1 " ) . tq arg( m_literal ) ;
}
void Instr_andlw : : generateLinksAndStates ( Code : : iterator current )
@ -1991,7 +1991,7 @@ ProcessorBehaviour Instr_andlw::behaviour() const
TQString Instr_call : : code ( ) const
{
return TQString ( " call \t %1 " ) . arg( m_label ) ;
return TQString ( " call \t %1 " ) . tq arg( m_label ) ;
}
void Instr_call : : generateLinksAndStates ( Code : : iterator current )
@ -2064,7 +2064,7 @@ void Instr_call::linkReturns( Instruction * current, Instruction * returnPoint )
TQString Instr_goto : : code ( ) const
{
return TQString ( " goto \t %1 " ) . arg( m_label ) ;
return TQString ( " goto \t %1 " ) . tq arg( m_label ) ;
}
void Instr_goto : : generateLinksAndStates ( Code : : iterator current )
@ -2085,7 +2085,7 @@ ProcessorBehaviour Instr_goto::behaviour() const
TQString Instr_iorlw : : code ( ) const
{
return TQString ( " iorlw \t %1 " ) . arg( m_literal ) ;
return TQString ( " iorlw \t %1 " ) . tq arg( m_literal ) ;
}
void Instr_iorlw : : generateLinksAndStates ( Code : : iterator current )
@ -2112,7 +2112,7 @@ ProcessorBehaviour Instr_iorlw::behaviour() const
TQString Instr_movlw : : code ( ) const
{
return TQString ( " movlw \t %1 " ) . arg( m_literal ) ;
return TQString ( " movlw \t %1 " ) . tq arg( m_literal ) ;
}
void Instr_movlw : : generateLinksAndStates ( Code : : iterator current )
@ -2153,7 +2153,7 @@ ProcessorBehaviour Instr_retfie::behaviour() const
TQString Instr_retlw : : code ( ) const
{
return TQString ( " retlw \t %1 " ) . arg( m_literal ) ;
return TQString ( " retlw \t %1 " ) . tq arg( m_literal ) ;
}
void Instr_retlw : : generateLinksAndStates ( Code : : iterator current )
@ -2219,7 +2219,7 @@ ProcessorBehaviour Instr_sleep::behaviour() const
TQString Instr_sublw : : code ( ) const
{
return TQString ( " sublw \t %1 " ) . arg( m_literal ) ;
return TQString ( " sublw \t %1 " ) . tq arg( m_literal ) ;
}
void Instr_sublw : : generateLinksAndStates ( Code : : iterator current )
@ -2264,7 +2264,7 @@ ProcessorBehaviour Instr_sublw::behaviour() const
TQString Instr_xorlw : : code ( ) const
{
return TQString ( " xorlw \t %1 " ) . arg( m_literal ) ;
return TQString ( " xorlw \t %1 " ) . tq arg( m_literal ) ;
}
void Instr_xorlw : : generateLinksAndStates ( Code : : iterator current )