Posts

Showing posts from January, 2024

6502 Assembly Language Lab

Image
In the world of technology, there's a certain allure to exploring the origins of computing, and what better way to embark on this quest than through experimentation? Today, we dive headfirst into the heart of a vintage marvel – the 6502 processor. In this experiment, we are doing the performance tests of two bitmap code for 6502 processor. Both the test fill a 32*32 pixel screen with yellow color. Code1: 1. Load the immediate value 00 into the accumulator register (A register). 2. S tore the value from the accumulator register into the memory location $40. 3. L oad the immediate value 02 into the accumulator register. 4. S tore the value from the accumulator register into the memory location $41. 5. L oad the immediate value 7 into the accumulator register. 6. L oad the immediate value 0 into the Y register. 7. S tore the contents of the accumulator (which is 7) into the memory address specified by the 16-bit pointer formed by combining the values at memory locations $40 and $41,...