我目前工作的一个NES(6502)汇编的比赛,但我不明白如何使一个精灵move.Heres如何,我认为它应该工作: (loop)
LDA $200 ;will load into the A register the content of address $200,wich contain the Y postion of my sprite
INA ;Increment the A regi
想要确保我不必回去并重做大块代码......我将每个操作码都作为实现Runnable的枚举中的值。有没有更有效的方法,我应该这样做,还是我在写轨道上准确地运行测试套件? package com.codeblox.nes.cpu;
public class CPU {
private byte x, y, ac, pcl, pch;
private short pc;