int function ( int arg0 ) { int loc0 = programCounter . getValue ( ) ; programCounter . setValue ( arg0 ) ; if ( Globals . getSettings ( ) . getBackSteppingEnabled ( ) ) { Globals . program . getBackStepper ( ) . addPCRestore ( loc0 ) ; } return loc0 ; }
for setting the program counter . note that ordinary pc update should be done using incrementpc method . use this only when processing jumps and branches . concode_field_sep Register lo concode_elem_sep Register programCounter concode_elem_sep Register hi concode_elem_sep Register[] regFile concode_elem_sep int STACK_POINTER_REGISTER concode_elem_sep int GLOBAL_POINTER_REGISTER concode_field_sep void resetRegisters concode_elem_sep Register[] getRegisters concode_elem_sep Register getUserRegister concode_elem_sep int getNumber concode_elem_sep int getInitialProgramCounter concode_elem_sep int getValue concode_elem_sep void incrementPC concode_elem_sep int updateRegister concode_elem_sep void updateRegister concode_elem_sep void initializeProgramCounter concode_elem_sep void initializeProgramCounter concode_elem_sep int getProgramCounter concode_elem_sep void showRegisters concode_elem_sep void addRegistersObserver concode_elem_sep Register getProgramCounterRegister concode_elem_sep void deleteRegistersObserver