Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Erik Malund
04/07/12 14:45
Read: 535 times
Mt Airy, Nc
USA


 
#187051 - wrong approach
Responding to: ???'s previous message
Simply i mean if i type 2+3=, for example i was trying many ways. I checked did i not use same register or memory location twice but i can't find miss take.
wrong approach, you should decide on "the way" without 'trying', then code and debug "the way".

I took a quick look at your code below and since you have posted it properly I did look quite a bit.

your code is virtually impossible to follow, there are no routine headers and the labels are totally misleading.

examples
KEYTODEC:
should have a header
;enter with key value exits with value equivalent. NOTE - misleading label -it does NOT return 'decimal' per se, it returns the value, which could be considered binary, hexadecimal ....
this is horrific:
CJNE A,#'+',PLUS
it jumps to 'plus' if it is not plus

it is totally confusing and the thing is that - even if you wrote it - it will confuse you too.

Erik


List of 9 messages in thread
TopicAuthorDate
[project]Calculator 4x4 keypad + 2x16LCD - Result      Lukasz Stanowski      04/07/12 09:57      
   wrong approach      Erik Malund      04/07/12 14:45      
      LCD      Lukasz Stanowski      04/18/12 16:27      
         Initialise it more than one time      Maunik Choksi      04/19/12 01:38      
            Needing To Do Three Times Is A Kludge      Michael Karas      04/19/12 20:48      
               Thanks      Maunik Choksi      04/19/12 23:18      
                  Intent Applied; But Verified??        Michael Karas      04/20/12 05:34      
                     previous experiences      Erik Malund      04/20/12 06:12      
                     ' Will see it again      Maunik Choksi      04/20/12 22:22      

Back to Subject List