I am selecting external clock using UCFG1 SFR register in START900.A51 file for P89LPC9408
is the following code is sufficient to activate my external clock in my hardware?.
NAME ?C_STARTUP
_UCFG1 EQU FOSC OR (WDSE SHL 4) OR (BOE SHL 5) OR (RPE SHL 6) OR (WDTE SHL 7)
_UCFG2 EQU 0
CSEG AT 0FFF0H
DB _UCFG1 ; place UCFG Bytes in hex file
DB _UCFG2 ; reserved for future use
please reply.