blob: 7b0f0d1e228e766104c5cf6e083526045e72fa0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# 01-LDA
#This test verifies if each addressing mode works, using the LDA instruction.
#Init Memory
s0007.10
s0008.02
s0009.02
s000a.64
s000b.48
s000c.32
s0202.11
s0212.22
#Init Registers
a201 #LDX $1
a002 #LDY $2
#Tests
a9ff 8510 #LDA Immediate store in 0010
a50a 8511 #LDA ZP 0a store in 0011
b50a 8512 #LDA ZP+X 0a store in 0012
ad000a 8513 #LDA Abs store in 0013
bd000a 8514 #LDA Abs+X store in 0014
b9000a 8515 #LDA Abs+Y store in 0015
a107 8517 #LDA In. X store in 0018
b107 8518 #LDA In. Y store in 0019
#Print 00 Page
m00
q
|