6 ms·
I find debugging assembly a breeze IF you have a full trace of all registers (ie in a simulation)
by artemonster 4y ago
I find debugging assembly a breeze IF you have a full trace of all registers (ie in a simulation)
- dmoy 4y agoWell, and you remember what all the registers do. I once burned a couple hours on a microcontroller because I had transposed bits 5 & 4 on some register that dictated a certain i/o behavior and caused things to be really weird. One register out of like 11 registers that affected how that i/o operated, one bit transposed, whole thing was inscrutable.
- MichaelZuo 4y agoIt seems like having a diagram would help a lot, maybe some kind of 2D AutoCAD with a visual representation and their logical relationships? Or a Verilog for software?