Tower of hanoi problem, Operation Research

Step 1: Research Towers of Hanoi problem

The Towers of Hanoi is a problem frequently used to teach recursive programming techniques.

Step 2: Run the assembly code from Hanoimania

It may require a little tweaking, but basically the problem is already solved. You can compile and run the C code as a comparison if you find it helpful.

Step 3: Read and study the code

Aside from the recursive call techniques, everything the code does has already been encountered in previous programming assignments.

Start by reading the code, then run it in the debugger and see how it works.

Step 4: Write a report

Write a report explaining how the program functions and what the structure of the stack frame is. Include examples of some call sequences along with a diagram of the resulting stack contents, which you can screen capture from the debugger and annotate as necessary.

Posted Date: 3/2/2013 7:23:17 AM | Location : United States







Related Discussions:- Tower of hanoi problem, Assignment Help, Ask Question on Tower of hanoi problem, Get Answer, Expert's Help, Tower of hanoi problem Discussions

Write discussion on Tower of hanoi problem
Your posts are moderated
Related Questions
Usefulness of Correlation 1.Correlation  is very  useful  to economists  to study  the relationship  between  variables  like  price  and quantity  demanded. To businessmen it

Maxz=3x1-2x2 St x1 -x2>_0, 3x1-x2 _0

The following linear programming is written to plan the production of two products. And the company wants to maximize profits. x1 = number of product 1 produced in each batch

Software House named as Harvester, got to increase the speed of service and I need to get 3000 words written

is model the essence of oprational research.

A company manufactures two types of printed circuits. The requirements of transistors, resistors and capacitor for each type of printed circuits along with other data are given in


Consider a queueing system with 1 counter, to which groups of customers arrive according to a Poisson proces with intensity l. The size of a group is 1 with probability p and 2 wit

SOLVE THE FOLLOWING LP USING SIMPLE METHOD MAXIMIZE Z=3X1+2X2 SUBJECT TO CONSTRAINT X1+X2 X1-X2 X1,X2>=0

Two Handed process Chart of Signing a Latter     A multiple  activity  chart  records the related  sequence of activities  of more  than one subject, men  and / or  machine  o