Users browsing this thread: 1 Guest(s)
How Do We Index Address

#5
Posts: 127
Threads: 8
Thanks Received: 21
Thanks Given: 12
Joined: Jan 2012
Reputation: 13
Status
None
(02-07-2016, 12:33 PM)ReturnerScum Wrote: So (LDA, X) means you jump to the address but if 2 is the current value in the X register, then you go to that address +2.

You're on the right track.
Maybe I'm taking you to literally but LDA does not jump. LDA (load accumulator) loads the A register with a value.
So LDA $0000,X loads the binary value at address $0000+X (as you said) but puts the value into the A register and does not jump.
  Find
Quote  
[-] The following 1 user says Thank You to m06 for this post:
  • ReturnerScum (02-11-2016)



Messages In This Thread
How Do We Index Address - by ReturnerScum - 02-07-2016, 12:33 PM
RE: How Do We Index Address - by Catone - 02-07-2016, 12:52 PM
RE: How Do We Index Address - by ReturnerScum - 02-07-2016, 02:13 PM
RE: How Do We Index Address - by Catone - 02-07-2016, 03:15 PM
RE: How Do We Index Address - by m06 - 02-07-2016, 06:03 PM
RE: How Do We Index Address - by madsiur - 02-08-2016, 12:14 AM
RE: How Do We Index Address - by Synchysi - 02-08-2016, 12:31 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite