??? 10/13/06 11:05 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#126380 - Well confused! Responding to: ???'s previous message |
Arvind Shrivastava said:
mov r4, #080h ; LSB of 3200h mov r5, #0c0h ; MSB of 3200h Jan Waclawek said:
OK so you intend to store the password in 3200h, so why do you use c080h? Your comments should reflect reality... And also the comments should say, WHAT THE HELL is 3200h... Let's see - what could 3200 be? 3200 decimal = 0C80 hex ... aha! Jan Waclawek said:
I'd recommend you to restart from scratch based on my description above. Absolutely! The above is a classic example of what happens when you're just thrashing about, changing stuff willy-nilly with no clear strategy. You need to go back and think about what you actually want to do (ie, specify your requirements), then design a solution to that problem, then implement your design. Coding doesn't come in until the implementation phase... |