Blog

  • 6502 Assembly Code – Optimization

    Optimizing Performance and Memory Usage of Assembly Code. Introduction In my previous post, I covered how to analyze performance and memory usage of assembly code. Here, I will start looking into how to optimize the code, using the 6502 Reference, and some programming logic. Then, I will modify the code to achieve different results, using…

  • 6502 Assembly Code – Analysis

    Analyzing code objectives, run-time and memory complexity. Introduction A few weeks ago, I enrolled in the Software Portability & Optimization course at my college. We got familiar with the structures and components of a CPU (Status Register, Accumulator, Program Counter, Stack…) in order to understand how assembly code works, and what it means. Modern CPU’s…