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 / 2939
2938  |  2940
Subject: 
Help in Assembler
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Thu, 6 Nov 1997 01:20:17 GMT
Original-From: 
MAR ERICSON <mar@NOSPAMcooper.edu>
Viewed: 
1310 times
  
Hi,

Consider a part of a program:

var1   FCB   1
var2   FCB   7
var3   FCB   4
     .
     .
     .
varN   FCB   ?

If I want to use a variable (say X) to determine when to use "var1" to
"varN", how can I do this (other than a whole bunch of CMP's).
(i.e. when X = 3, I want to access var3)

I guess what I'm asking is...Is there a way to indicate the address var3
as "the address of var1 plus an offset"?

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



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