Quantcast
Channel:
Viewing all articles
Browse latest Browse all 59170

Forum Post: RE: Starting up... with assembler??

$
0
0
1. It is not mandatory to use assembler for start-up code. You can also create a project that uses C for start-up code. ncrt0.a30 does not do any clock initialisation. ncrt0 does only - stack pointer initialisation. - initialisation of global variables (initialised and not initialised). - setting of processor mode. sect30.inc is used to define all memory sections thus defining the memory organisation. 2. You can use the simulator but I would not recommend to do so. The titorial usually uses timer interrupts and AD inputs to vary LED blink speed. The simulator cannot simulate any hardware, so you have no rela interrupts and no AD input. There are work arounds but if you don't have to wait to long for your real processor I would save the time.

Viewing all articles
Browse latest Browse all 59170

Trending Articles