In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: This seems to be a problem in the debugger. When I "WALK" this: ;------------------------- DEVICE SX28L,OSCHS2,TURBO,STACKX,OPTIONX IRC_CAL IRC_SLOW RESET Initialize FREQ 350_000 ORG 0 BREAK INC $0E MOV W,#-50 RETIW Initialize CLR $0E MOV !OPTION,#%10011111 ;enable rtcc interrupt Main :loop NOP JMP :loop ;----------------------- $0E only gets updated the first time RTCC overflows ?? But if I add another NOP in the main loop it seems to work fine ??? Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=92453#m92514 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)