??? 07/20/06 09:51 Modified: 07/20/06 09:52 Read: times |
#120657 - shall I spoil the fun? Responding to: ???'s previous message |
Erik said:
check_row: clr ROW0 setb ROW1 setb ROW2 setb ROW3 mov a,p1 anl a,#00001111b cjne a,#00001111b,row_0will always be not equal, look at it again. Ashwin changed it to: check_row: clr ROW0 setb ROW1 setb ROW2 setb ROW3 mov a,p1 anl a,#01111111b ;test row zero cjne a,#01111111b,row_0 But it still will always be not equal! I don't want to spoil the fun - and also the "morale", which follows from it. Just one more hint, again Erik said it first, try to run it in a simulator, you will see the problem immediately. An Andy has a point, too (with the spaces in db ' 0 '). JW PS. This is THE example of programmer's blindness. Try to explain how it works to your wife, friend, teddy bear... |
Topic | Author | Date |
hex key pad code not working | 01/01/70 00:00 | |
Explanation | 01/01/70 00:00 | |
what, how | 01/01/70 00:00 | |
each line of code must be justified | 01/01/70 00:00 | |
correction made, still not workin | 01/01/70 00:00 | |
Lookup table | 01/01/70 00:00 | |
hyperlink | 01/01/70 00:00 | |
of course not, | 01/01/70 00:00 | |
shall I spoil the fun? | 01/01/70 00:00 | |
code workin partially | 01/01/70 00:00 | |
be specific | 01/01/70 00:00 | |
specific | 01/01/70 00:00 | |
check it in the simulator | 01/01/70 00:00 | |
Use serial port for debugging | 01/01/70 00:00 | |
confidence | 01/01/70 00:00 | |
I wouldn't do that | 01/01/70 00:00 | |
problem with find_num subroutine? | 01/01/70 00:00 | |
Code presentation | 01/01/70 00:00 | |
sorry it's 'hyper terminal' | 01/01/70 00:00 | |
Problem solved | 01/01/70 00:00 | |
which conclusion, please tell | 01/01/70 00:00 | |
Problem is NOT solved. | 01/01/70 00:00 | |
Post the solution please | 01/01/70 00:00 | |
solution | 01/01/70 00:00 | |
a 'killer solution' | 01/01/70 00:00 | |
killer???? | 01/01/70 00:00 | |
you 'eat' the main![]() | 01/01/70 00:00 |