I have read documentations regarding the memory map of nes. I know how they are devided (Zero page, stack, ram etc.). What i don't understand is memory paging, how are memory being paged??
When i was implementing 6502 opcode BPL, documents tells me that "branch on result plus". From what i understand, branch if negative flag is not set. Here comes my question in mind "What the hell is branching??? ". What does branching do???
my disassembler code:
my last problem is about opcode cycle. the BPL cycle is 2 but the document tells me that "Add 1 if branch on same page. 2 if different."
Which brings me back to the first problem....
Taken here:
Hope you guys can help me with this thnx [/quote]
When i was implementing 6502 opcode BPL, documents tells me that "branch on result plus". From what i understand, branch if negative flag is not set. Here comes my question in mind "What the hell is branching??? ". What does branching do???
my disassembler code:
Code:
[C077] LDX #$02
[C079] LDA $2000
[C07C] BPL $FB <- this is where i got confused :lol:
[C079] LDA $2000
[C07C] BPL $FB <- this is where i got confused :lol:
my last problem is about opcode cycle. the BPL cycle is 2 but the document tells me that "Add 1 if branch on same page. 2 if different."
Which brings me back to the first problem....
Taken here:
Quote:
http://6502.wikicomplete.info/bpl
Hope you guys can help me with this thnx [/quote]