A86: Please help
[Prev][Next][Index][Thread]
A86: Please help
i am having some trouble. I have a 16x8 map
Level1:
.db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
.db 0,1,2,2,0,3,0,1,0,0,0,0,0,0,3,0
.db 0,2,0,0,0,3,0,3,0,0,0,1,0,0,2,0
.db 0,2,0,0,0,3,0,2,0,0,1,0,2,0,0,0
.db 0,0,0,0,0,3,0,0,2,3,2,0,0,0,0,0
.db 0,2,0,0,0,3,0,0,0,0,0,0,0,0,2,0
.db 0,1,2,2,0,3,0,0,0,0,0,2,0,0,2,0
.db 0,0,0,0,0,0,0,0,0,0,0,0,2,0,1,0
and need to be able to check what is on the map be it 0,1...16.
depending on x,y coordinates (x is stored into the e register and y into
the d register) i would like the number the x,y coordinates coorispond
to to be stored into the a register. Will someone help me... everytime i
try something it screws up. Thank you
Russ Hanson
Follow-Ups:
References: