A85: X-Sender: hbonner@pop.ttu.edu (Unverified)


[Prev][Next][Index][Thread]

A85: X-Sender: hbonner@pop.ttu.edu (Unverified)




Hey,
  I need to be able to access memory locations in a loop.
How do I go about changing the location each time through the loop?
For instance:

location = $xxxx  ;location is an initial memory address
label:
 ld a, x
 ld (location),a
 ; Somehow change location to next memory address
goto label: 
 ; I know its an inf. loop but its just an example.

Can anyone help with this?