[an error occurred while processing this directive]
|
;/*------------------------------------------------------------------*/
;/* ASM_Delay */
;/*------------------------------------------------------------------*/
_ASM_Delay:
; int16 ASM_Delay( int Delay )
;
; T0 - number of milliseconds to sleep
SUB #1, T0
MOV T0, BRC0
RPTBLOCAL delay_cycle-1
; internal cycle is 200cycles==1usec at 200Mhz
; internal cycle is 300cycles==1usec at 300Mhz
RPT #299
NOP
delay_cycle:
MOV #0, T0
RET
Вообще если человек задает такие вопросы, то это начинает настораживать
E-mail: info@telesys.ru