I'm not that experienced with assembly programming and there seems to be so much conflicting information online that I never know what to believe.
Is there a good resource for dasm, meaning a listing of the directives, that sort of thing? I've seen references to some documentation, but I couldn't find it.
I recently discovered I needed to put a single space in front of opcodes in order for dasm to add them to the binary, but I'm unsure why. I found a reference somewhere that talked about directives needing to be indented, but I never found anything that stated opcodes do.
I'm sure that gives you an idea of just how ignorant I am, I'm finding the mishmash of information online to be overwhelming since a lot of it doesn't seem to apply.
I would love book recommendations as well, direct links with identifiers or whathave you are also welcome. I want to learn, but I'm finding it difficult to sift through all of the information available to glean what's relevant to what I'm doing specifically.
I did come across this, which I've been sifting through. I'm wondering just how much I can take away from it.
ftp://ftp.apple.asimov.net/pub/apple_II ... amming.pdf
I did notice on page 115 under section 9 it stated the CPU reads the opcodes, advances the PC to the *next opcode* and *then* executes the original opcode. That's a little different from how I've been implementing things.
Resources with explicit descriptions of that sort of thing would be invaluable to me.
Is there a good resource for dasm, meaning a listing of the directives, that sort of thing? I've seen references to some documentation, but I couldn't find it.
I recently discovered I needed to put a single space in front of opcodes in order for dasm to add them to the binary, but I'm unsure why. I found a reference somewhere that talked about directives needing to be indented, but I never found anything that stated opcodes do.
I'm sure that gives you an idea of just how ignorant I am, I'm finding the mishmash of information online to be overwhelming since a lot of it doesn't seem to apply.
I would love book recommendations as well, direct links with identifiers or whathave you are also welcome. I want to learn, but I'm finding it difficult to sift through all of the information available to glean what's relevant to what I'm doing specifically.
I did come across this, which I've been sifting through. I'm wondering just how much I can take away from it.
ftp://ftp.apple.asimov.net/pub/apple_II ... amming.pdf
I did notice on page 115 under section 9 it stated the CPU reads the opcodes, advances the PC to the *next opcode* and *then* executes the original opcode. That's a little different from how I've been implementing things.
Resources with explicit descriptions of that sort of thing would be invaluable to me.