Changes

Jump to: navigation, search

6502 Assembly Language Lab

193 bytes added, 13:36, 21 January 2022
Setup
** [http://www.6502.org/tutorials/6502opcodes.html 6502 Opcodes with Register Definitions]
** [https://www.masswerk.at/6502/6502_instruction_set.html 6502 Opcodes with Detailed Operation Information]
* [https://docs.google.com/spreadsheets/d/1a1-ZZ1opY8xcuUHNxj3YW75dxOPynSuP2-QGSvZGzYY/edit?usp=sharing Spreadsheet of bitmmapped display memory locations]
== Lab 1 2 ==
=== Setup ===
1. Open the [[6502 Emulator]] at http://6502.cdot.systems in another tab or window, keeping this lab open.
{{Admon/important|Save Your Work|The emulator '''does not''' save your work automatically. Remember to periodically save it to a file (copy-and-paste the code or use the <code>Save</code> buttonto create local files).}}
=== Bitmap Code ===
=== Calculating Performance ===
4. Calculate how long it takes for the code to execute, assuming a 1 MHz clock speed.
around5. Consider ways to decrease the time taken to clear fill the screenwith a solid colour. Calculate the execution time of the fastest version of this program that you can create.
=== Modifying the Code ===
#* A green line across the bottom
=== Write-Up ===
Post an entry on your blog describing your experiments in this lab. Follow the [[Blog Guidelines]]. Include code as text (and not screenshots), but feel free to include screenshots of the bitmapped display.

Navigation menu