??? 08/09/11 07:12 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#183273 - Debugged with pen and paper? Responding to: ???'s previous message |
Joshua David Cammack said:
Awesome. I appreciate the help. I'll make the changes and see what happens. Thanks again Just a question here: Should you or shouldn't you make a change? And do you need to see what happens? Have you tried to understand what the code does? Have you tried to single-step the code with pen and paper and keep track of the values you have in different registers, memory cells and in applicable situations flag register before and after each instruction? You wonder if there is a print error in the book - the answer to that should be obvious to you. You can't just copy/paste code and pray for the best. Before you copy code, you have to make sure that you understand it. I'm pretty sure your teacher wants you to understand whatever code you hand in. If you do understand the code, then you would know if the book is correct, or if you have introduced own errors or if the code you have is actually correct as is. Assembler programming isn't black magic. It's just a question of doing everything one step at a time - just as the processor does it - and to keep track of what the input is and the output will be. And what further changes are needed until the output have become as expected. |
Topic | Author | Date |
need help to display timer count on hyperterminal and LED'S | 01/01/70 00:00 | |
Attention to Details | 01/01/70 00:00 | |
divide by 10 | 01/01/70 00:00 | |
Hundredth digit is quotient of division by 100 | 01/01/70 00:00 | |
thanks | 01/01/70 00:00 | |
Debugged with pen and paper? | 01/01/70 00:00 | |
Debugged | 01/01/70 00:00 | |
Decimal or hexadecimal? | 01/01/70 00:00 | |
decision | 01/01/70 00:00 | |
So take up the challenge then | 01/01/70 00:00 | |
agreed | 01/01/70 00:00 | |
Actually BCD!! | 01/01/70 00:00 | |
Oh Details Details | 01/01/70 00:00 | |
update | 01/01/70 00:00 | |
Issues | 01/01/70 00:00 | |
better to check before sending | 01/01/70 00:00 | |
Even Better.... | 01/01/70 00:00 |