i have couple of months trying to learn how to compile programs in assembly and it's very interesting. by now i'm working on 2 projects. i have to say that i'm a newbie in assembly but i'm trying :)
the 1st is a hex counter which counts from 00-0F and then goes back to 00. the counter is increased every time a pushbutton is pressed.the result is displayed in two 7-segment displays i've made the code but this is working only for one 7-segment. i asked this issue with some friends and they told me that if i use interupts and multiplexing i'll solve the problem. but i thing that because the first 7-seg. will be always "0" i would have the same result if i plug it into the power supplier.
hex counter.doc <---attached
the other one is a little bit complicated. it's an electronic dice. as you know this is based on a random choice. i didnt write the program yet cause i'm stuck in this random function. i've downloaded the data sheet pdf from microchip site but i didnt find anything about this. i searched over the net to find a complete program but nothing at all.
i think it is like the hex counter one with some differences. for example i'll start with a function that will call a table where i'll save all 6 numbers a dice can have. and i'll type a random function to pick every time another number. can somebody help me more with that program?