To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 4038
4037  |  4039
Subject: 
assembler technicality
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Thu, 25 Jun 1998 07:04:50 GMT
Original-From: 
gjz@IHATESPAMaol.com
Viewed: 
1158 times
  
from an interrupt code, is it possible to 'JMP' or 'JSR' to a
subroutine(function) written in C code?  what i am trying to do is the
following:  in the TOC4INT interrupt routine, be able to call in a C function.
i know that functions are called subroutines in assembler, but i tried the
following instruction in the interrupt code, and i could not get very far:
"JSR   subroutine_function"
where "function" was the name of the function that i wanted to call.  is there
any way that i may do this, and if so, how do i "# INCLUDE" the code that
holds the C function that i am trying to call?  i never actually got far, the
assemler (as11_ic) did not allow me to compile the .asm code for reason that
it could not find the source of C code that was in the '# INCLUDE' statement,
however, the path was specified correctly.  there must be a way to do this.
thanks in advance.

Justin D. Gullotta.. , Engineer,
Rensselaer Polytechnic Institute.



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR