Posts

Showing posts from February, 2025

(lab3)6502 Program Lab

  In this lab, you will write code with arithmetic/math and strings in   6502   assembly language, including text output, graphical output, and keyboard input, in preparation for learning more complex x86_64 and AArch64 assembly language. Resources 6502 6502 Emulator 6502 Math 6502 Jumps, Branches, and Procedures 6502 Emulator Example Code  - Specifically: Place a Graphic on the Screen  - for an example of defining a graphic using DCB, and copying a graphic to the screen Etch-a-Sketch Style Drawing  - for an example of converting (ROW,COL) co-ordinates to a screen address, and reading the keyboard 6502js-code  repo on GitHub - Specifically: Wordle-like example (wordle-6502) Opcode/Instruction References 6502 Opcodes with Register Definitions  at 6502.org 6502 Opcodes with Detailed Operation Information  at Masswerk 6502 Instructions  organized differently on the Ultimate Commodore 64 Reference site Tips and Techniques Keyboard Access the...