A86: Re: Re:


[Prev][Next][Index][Thread]

A86: Re: Re:




Hey man, that was it. thanx
-----Original Message-----
From: David Norelid <fuzz@pinecrest.edu>
To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
Cc: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
Date: Saturday, March 20, 1999 6:15 PM
Subject: A86: Re: 


>
>>ive attached my source.
>>
>>Heres an example of how the program should flow:
>>user presses f1, for the roll.
>>program jumps to "roll" label.
>>it calls an input routine, which stores the number of dice to roll in hl.
>>the program copies <tries at this stage> the value of hl to b.
>>sets the value of op3 to 0.
>>it jumps to "Random".
>>Random draws a number between 1 & 6.
>>it copies the value of op3 (which is the total amount rolled) to op2.
>>adds op1 & op2, and saves that to op3.
>>decreases b by one.
>>and loops back to random.
>>when done, it goes to "roll2", displays the total, and jumps to the main
>>menu loop.
>
>
>on line 4, you code says: "it calls an input routine...."
>
>i think thats your problem right there. use one of them jp thingies. then
>again i could be wrong
>
>FUZZ
>David Norelid
>Fuzz Enterprises Inc.
>--------------------------
>Posse in effect, yo
>--------------------------
>listen.to/yankovic
>
>
>