define a vector to an ASM isr in an IAR mixed C/ASM program

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Creating the asm isr module with the necessary EXTERN, PUBLIC, RSEG etc directives is no problem. But how do I place the vector within the context of the program structure that the IAR system creates?

Roger

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
COMMON INTVEC:CODE

public Int0Vector
ORG INT0_vect
Int0Vector:		jmp	Int0Handler

etc.

Mike Adams
ADI Development, Inc.
http://www.adidev.com

... When it has to actually work.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Terrific, thanks mate, worked like a charm.

Roger