Different results with literal vs. register
I was doing some experiments with Propeller assembly this evening and I was running into some weird results. I finally realized that the weird results were happening whenever I was using a literal value in a statement. I reduced it to a small program that illustrates the problem.
If you run the attached program on the demo board, the LEDs will blink five times.
If you then comment out line 24 and use line 26 instead, the LEDs don't blink. I can't figure out why this is happening.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
OS-X: because making Unix user-friendly was easier than debugging Windows
If you run the attached program on the demo board, the LEDs will blink five times.
If you then comment out line 24 and use line 26 instead, the LEDs don't blink. I can't figure out why this is happening.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
OS-X: because making Unix user-friendly was easier than debugging Windows
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
OS-X: because making Unix user-friendly was easier than debugging Windows
Post Edited (SSteve) : 5/19/2006 7:57:24 AM GMT
Chip Gracey
Parallax, Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··