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 / 3404
3403  |  3405
Subject: 
Kent's sonar routines
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Fri, 13 Mar 1998 00:00:48 GMT
Original-From: 
MAR ERICSON <mar@cooper*StopSpam*.edu>
Viewed: 
1393 times
  
Can anyone clarify something for me?

A section of the code of sonar.asm goes as follows:

variable_sonar_time
sonar_time              FDB       0

What does this mean? Why are there two variables before the FDB?

Another section goes as follows:

variable_sonar_enable   FCB       0
sonar_enable            FCB       0

I thought IC integers had to be 2 bytes.
And also, are these two different variables?

Thanks for any help.   :)

-----------
ericson mar
Master of Engineering Candidate
Project: Mobile Robotics
mar@cooper.edu
(212)353-4356

Department of Mechanical Engineering
The Cooper Union for the Advancement of Science and Art
-------------------------------------------------------



Message has 1 Reply:
  Re: Kent's sonar routines
 
(...) The line "variable_sonar_time" indicates that the immediately following FDB will be available to IC as an integer variable named "sonar_time". The next line with the FDB is just a regular assembler definition statement to allocate storage for (...) (27 years ago, 13-Mar-98, to lugnet.robotics.handyboard)

2 Messages 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