我正在6502组装中打印到屏幕上
在我写的监视器中
STA $01, y to store the value at the pointer
Run Code Online (Sandbox Code Playgroud)
当我在此行按Enter键时,它说指令无效?
有任何想法吗...?
您最想要的寻址模式是间接索引
STA ($01), Y
Run Code Online (Sandbox Code Playgroud)
例如.
A = '@', Y = 81, Mem dump:
0001 00
0002 04
Run Code Online (Sandbox Code Playgroud)
结果将是:
01234 <-- columns
+--------
0 |
1 |
2 | @
|
rows
Run Code Online (Sandbox Code Playgroud)