I need to create an array after my code.
For example my code is
LDA $EF
then I would need to have an array there that contains let's say 2 hex code.
E4 20
However, I have 2 problems:
1-) I would need to be able to give a label to this table so I can use it.
For example:
LDA $EF
array1:
E4 20
LDA array1,Y
2-) The other problem is that the array would need to be after it is used, like this
LDA array1,1
array1:
E4 20
Is there a way to do this?
For example my code is
LDA $EF
then I would need to have an array there that contains let's say 2 hex code.
E4 20
However, I have 2 problems:
1-) I would need to be able to give a label to this table so I can use it.
For example:
LDA $EF
array1:
E4 20
LDA array1,Y
2-) The other problem is that the array would need to be after it is used, like this
LDA array1,1
array1:
E4 20
Is there a way to do this?