6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Oct 06, 2024 9:29 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: PROBLEM MAKING PROGRAM
PostPosted: Sat May 22, 2004 8:09 pm 
Offline

Joined: Sat May 22, 2004 7:58 pm
Posts: 2
Hello, I just have rejistered. I want to ask you for a programing problem that I have. I want to make a program in ASSEMBLY to do binary search to a table. I try all day and I can't find the right codec. Can eanybody help me??? Thank you!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat May 22, 2004 9:11 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8521
Location: Southern California
I heard years ago that there are three steps to solving a problem, and the first step is to know what the problem is. You'll need to know things like,
:arrow: How big might the table be?
:arrow: How big might the field you're looking for be?
:arrow: Are all the fields the same length, or could the lengths vary?
:arrow: How many fields might there be? Could the number of fields vary also?
:arrow: etc., etc.

You probably will not find ready-made code for exactly your application. You will need to define the job better, then familiarize yourself with the processor's instruction set so you know what elements you have for the job.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: