View Single Post
  #38   Spotlight this post!  
Unread 31-12-2004, 16:26
stephenthe1 stephenthe1 is offline
Registered User
#1008
 
Join Date: Dec 2004
Location: Ohio
Posts: 113
stephenthe1 is on a distinguished road
Re: encoder vs. motor

also, if you could explain this segment of code.
Code:
#pragma code InterruptVectorLow = LOW_INT_VECTOR // put this code at address 0x18
void InterruptVectorLow (void)
{
_asm
goto InterruptHandlerLow // jump to InterruptHandlerLow(), below
_endasm
}
#pragma code
1: what is "#pragma"
2: what is the purpose of putting the "#" symbol in front of it
3: what are _asm and _endasm
thank you so much for the help,
Stephen.